Current time in EST on main index page?
Version: 5.0.48
URL: http://www.disablednyc.com/resources/
|
Michelle
Member Usergroup: Customer Joined: Sep 27, 2004 Location: New York City Total Topics: 22 Total Posts: 45 |
Posted 06/02/09 - 10:59 PM:
I'd like my main index page to show the current time in New York City, and have been looking through the template variables for a way to do it. I've found plenty of date/time and formatting options for link variables, but I haven't found any just for the current date. Is there a way to do this with template variables or should I use PHP instead? Customize Your Life | Disabled NYC |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 06/04/09 - 9:40 AM:
That'd require php. To use the current WSN default/profile timezone, <?php echo showdate("%x - %X", time()); ?> where the format comes from http://www.php.net/strftime
|
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print