This content has been marked as final. Show 3 replies
Well that depends on if you have a server now, doesn't it? PHP will do it for you, but I'm unsure on whether or not it's the system clock or an absolute clock.
$date = date('Y');
Sets the $date variable to the date in years.
However, I'm not sure if you're looking for this or for something entirely server-run.
Let me know if this is something you'd be looking for, I can elaborate on PHP's date function if you'd like.
I would write a remoting call back to your server to ask it for the date right before you need to use it. Any server that can use remoting should have some sort of system date variable that you can pull, be it coldfusion, .net, PHP, or java. Maybe you can give us some more details about your operating environment.
Thanks for the responses! My environment is Java and my programmer colleague informed me I could just do something like <%= new java.util.Date().toGMTString() %> . So I'm passing that to flashvars and all is well.