3.0 beta 2

PHP Date Time Need Help

Hi, guys.
I am a php beginner.
I have the following date and time format:
11-01-2011 13:30:27
I want to get a beginning datetime and an ending datetime and caculate the difference in hours. How can i transform the above date to a format that can caluslte? the stamp posted is from a calendar date picker.
Convert the time to 24-hour time. For example, 7:30 a.m. and 5:45 p.m., then the times are 7:30 and 17:45.
I google search and find some<a href="http://www.phpkode.com/scripts/category/php-date-time/" >php date time </a>script listed on a page, but which one is suitable for me?
Any one can point the right direction for me?
Thanx in advance!
cc.
anny
January 11,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.