|
-
Griffhiggins 2.2
1 Million Dollars to the person who answers my PHP question!
Okay..help me stop from killing myself.
How do I change a epoch date like 1043458414 to a standard pretty date like: Jan 9 2003, 07:21 AM using PHP?!
Thank you kindly,
Clif
-
FK's Wave Pimp
i've had the same problem for a while now.
-
dIgital pHoto dude!
WTF is an epoch date.
Dont worry - im not fumb, just trying to breakinto server/client scripting, SQL, PHP the like. Just curious!
-
Griffhiggins 2.2
It's the seconds expired since 1/1/1970
-
Moonlight shadow
http://www.php.net/manual/en/function.date.php
$epochdate = date("new date format");
I think that will work.
-
Griffhiggins 2.2
There you are sheepy! My lifesaver!
Actually..nerdles pointed me towards this:
http://www.php.net/manual/en/function.strftime.php
strftime("%B %m %whatever ", epoch time number);
Works like a charm. 
Thanks guys..I'll contact the winner soon. 
Clif
-
No worries, Clif. I moved it for you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|