Page 1 of 1
how can i convert unix time o time in php?
Posted: Wed Apr 06, 2005 6:16 am
by pelegk2
what is the fast way?
Posted: Wed Apr 06, 2005 8:00 am
by timvw
what is the difference between a unix timestamp and php date anyway?
i was not aware that php has a date type? (
http://www.php.net/manual/en/language.types.php)
he diffrence is that for example
Posted: Thu Apr 07, 2005 12:57 am
by pelegk2
if i have a time in unixtime likethis :
1104616800
and i want to convert it using php to a date/timevalue i dont havea ready made function!
the link to the types dosent help
Posted: Thu Apr 07, 2005 1:52 am
by feyd
yes, you do have "ready made function" .. it's called almost any of the time related functions. date(), strftime(), etc.. all can take a timestamp argument.
Posted: Thu Apr 07, 2005 2:00 am
by Chris Corbyn
I don't understand what you mean. So you have a unix timestamp... which PHP handles nicely with it's date() function. And you want to get what?
Am I being dumb or is that what you mean?
EDIT | Oops... I see my point was already made by feyd. Took me 10 mins to write that answer cos I keep getting jobs to do 
mmmmmmmmmm i see know
Posted: Thu Apr 07, 2005 2:28 am
by pelegk2
thnaks you both