Apr 07, 2011 — 5 comments
Adding times together can be complex when taking seconds, minutes and hours into account of multiple time calculations add an array into the mix its even more complicated!
Most of country using different date format for filling the form and day activity. So the PHP provide many date formats. See list of Date Format Here, we discuss about how to change the date in different format using php strtotime () The function to generate date user required format. You can required specified format of date and that is decleared above the list
Ever wanted to display a date and not known how to get “th” after your 7 to make December 7th, 1941? Or wanted to show a visitor to a website that they were the 4,721st visitor and not visitor number 4,721?
This short how-to shows you how to format dates in PHP
How to get the start and end date of the prior week to the current one in PHP.
Learn the basics of the PHP Date Function with this quick, simple tutorial and cheat sheet!
In this tutorial we'll be going through the ins and outs on how to make a calendar in php.
When developing more complex PHP sites, especially forums, discussion boards and blogs where date and time functions are important, you’ll regularly encounter situations where you need to display and manipulate values based around the current date and time. PHP includes a range of functions which can help you to easily format and adjust your date and time displays to suit your needs. In this tutorial, we’ll look at some easy ways to display calendar information for your visitors.
Dates can be hard to work with in PHP, here we learn you the simple way of getting yesterdays date (and other dates relative to today)
This tutorial walks you through how to use a few simple functions - strotime(), date(), and rand() - to find a random date in PHP. The end result is a simple one-line command, which you can place in a function and re-use in your own scripts.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?