These forums are CLOSED. Please visit the new forums HERE
Date function for UNIX timestamps? |
|
|
Harris Hare
Second Life Resident
Join date: 5 Nov 2004
Posts: 301
|
07-14-2006 17:05
Does anyone have a function that can accept a UNIX timestamp (the number of seconds since Jan 01 1970) and turn it into month, day, year, etc.? I'm sure it's not that hard to make one but math hurts my brain. Thanks!
|
|
Keiki Lemieux
I make HUDDLES
Join date: 8 Jul 2005
Posts: 1,490
|
07-14-2006 17:59
Does anyone have a function that can accept a UNIX timestamp (the number of seconds since Jan 01 1970) and turn it into month, day, year, etc.? I'm sure it's not that hard to make one but math hurts my brain. Thanks! I wrote a function which does the opposite... enter in month, day, year etc and it gives you a timestamp. You can look at it here: /54/08/103039/1.html I hope that is helpful. _____________________
imakehuddles.com/wordpress/
|
|
Harris Hare
Second Life Resident
Join date: 5 Nov 2004
Posts: 301
|
07-14-2006 19:04
Thanks, I had seen that but can barely make heads and tails of it. Anyone wanna take a stab at this? Please?
|