PDA

View Full Version : Unix Timestamp


Magsec4
01-02-2006, 09:19 PM
Hi there everyone!

I'm doing a little flash project in my spare time, and I need some help... I'm quite new to actionscript, so I don't know it very well. I was wondering if there was a way to display a Unix timestamp in flash, using actionscript, since a php host is unavailable for me. I'd also like to know if there was a way to have the timestamp update automaticly every time it changes.

Thanks in advance, help is very much appreciated :) .

Flash Gordon
01-02-2006, 09:22 PM
your gonna need to learn about date() and setInterval().

No you can't get he Unix timestamp with PHP, but you can get the user's current time and then convert that into the timestamp.

Flash Gordon
01-22-2006, 05:38 AM
Actually, I think I might have read that you can get the time stamp in Flash. Perhaps a better search might yeild something.