Re: Date/time format?
| From: | Travis Doherty | Date: | Wed, 28 Mar 2007 19:48:55 +0000 |
| Subject: | Re: Date/time format? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251566@lists.php.net to get a copy of this message | ||
Zoltán Németh wrote:
>2007. 03. 28, szerda keltezéssel 15.35-kor Jason Pruim ezt írta:
>
>
>>Hi Everyone,
>>
>>First off, I'm using PHP 5.2.0 and apache 1.3.33
>>
>>I am trying to figure out what format a string is in in a database.
>>It's a timecard system that I have found on-line and I am attempting
>>to figure out how to write a script that would give me everyones
>>timecard for the month on one screen I can print out for accounting
>>to use. Below is an example of one of the lines in the database, What
>>I'm really interested in is how it represents the "day".
>>
>>user day job_name
>>minutes sequence
>>
>>root 1171774800 Production & technology Manager
>>990 3
>>
>>I have not been able to find ANY info about that format, other then
>>other people using it in blogs. I think I can figure out the rest as
>>I go if I know how to decode the day. Any help or pointers to the "M"
>>would be GREATLY appreciated! :)
>>
>>
>>
>>
>>
>
>what does strtotime return for that string?
>
>
>
It's already a time, strtotime should return FALSE. It probably can't
parse that string to a time.
Travis D