Webmastersite.net
Register Log In

current date
silly question

Comments on current date

david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Nov 01, 2007 - 8:19 AM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 01, 2007 - 2:43 PM:

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: 91
Total Comments: 305
david
Posted Nov 01, 2007 - 3:09 PM:

Hi Paul,

Thank you for your help. smiling face

David
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.