Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Date formats  (Read 353 times)
0 Members and 1 Guest are viewing this topic.
manco
Guest
« on: December 29, 2006, 10:26:00 PM »

can someone tell me how to get  short dates posted to an SSI page?

Want Sat not Saturday
Want Dec not December
Want 06 not 2006

Any ideas?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: December 30, 2006, 02:19:00 AM »

** can someone tell me how to get short dates posted to an SSI page? **

Use the tags for the day and month abbreviations as described in the Documentation: Defined Variables instead of the tags for the long variable forms which are likely there now.

** Want 06 not 2006 **

I don't know that there is a short form variable for the year. Some variation of the Perl substr() function should be able to be used on the full year variable to return part of it though.

JFYI

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: