Learn how to use date and time in Python, with real-life examples of working with date and time using the Python datetime and time modules.
Tag: datetime
Understanding Python Date and Time, with Examples
Quick Tip: How to Get the Current Date in PHP
Learn about the different ways to get the current date and time in PHP and some additional considerations when working with time in PHP.
Time Ago: How to Display Publish Dates as Time Since Posted
Osvaldas Valutis explains a simple technique for keeping your publish dates fresh and up to date.
Suggesting Carbon with Composer – Date and Time the Right Way
Bruno looks at Carbon, a library extending the basic DateTime PHP class, and implements it in a live project instead of pure string outputs of dates!
How To Synchronize Your PHP and MySQL Timezones
Handling dates in PHP and MySQL is difficult unless timezones match. This tutorial provides code which should help solve date/time problems in your application.
Is Your PHP Application Affected by the Y2K38 Bug?
Read Is Your PHP Application Affected by the Y2K38 Bug? and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.