convert numeric string to date-time format
Moderator: General Moderators
convert numeric string to date-time format
how can i convert a numeric string [ex. 0903170700 -- (yymmddhhii) ] into a date-time group format so that i would be able to subtract 5 days from it?
Re: convert numeric string to date-time format
try and read date and time documentations in php.net http://in2.php.net/date
to convert your date into time, strtotime is one such function you can use.
to convert your date into time, strtotime is one such function you can use.