logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

current date
silly question

Version: 4.1.10


current date
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 72
Total Posts: 220
Posted 11/01/07 - 08:19 AM:
quote post
#1
Hi Paul,

I can't find a template variable that would display the current date... How can I display the current date?

On a related question. I see there is a LINKDAYSOLD variable. Is there a way to include a LINKYEARSOLD variable in the next upgrade?

Thanks
David
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/01/07 - 02:43 PM:
quote post
#2
Use PHP. <?php strftime("%x"); ?>

Years old should be done as <?php echo round(({LINKDAYSOLD}/365), 0); ?>
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 72
Total Posts: 220
Posted 11/01/07 - 03:09 PM:
quote post
#3
Hi Paul,

Thank you for your help. smiling face

David
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.