3069 Posts in 868 Topics by 650 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 888 Views |
-
issue with date.php

23 May 2010 at 6:42am
The Day() method is not working for me.
I am working with Tutorial 2. This code below from my template
Posted on Long: $Date.Long by $Author<br>
Posted on ShortMonth: $Date.ShortMonth by $Author<br>
Posted on URLDate: $Date.URLDate by $Author<br>
Posted on Year: $Date.Year by $Author<br>
Posted on Month: $Date.Month by $Author<br>
Posted on Day: $Date.Day by $Author<br>
Posted on Nice: $Date.Nice by $Author<br>Outputs
Posted on Long: 1 January 2010 by Paul West
Posted on ShortMonth: Jan by Paul West
Posted on URLDate: 2010-01-01 by Paul West
Posted on Year: 2010 by Paul West
Posted on Month: by Paul West
Posted on Day: Friday by Paul West
Posted on Nice: 01/01/2010 by Paul WestNote the Month: >>>> there is not month!
-
Re: issue with date.php

23 May 2010 at 2:29pm Last edited: 23 May 2010 2:30pm
$Date.Month was not part of the date API till last week (will be part of 2.4.1). For older versions you either use $Date.ShortMonth or use $Date.Format(F) to get the full month.
-
Re: issue with date.php

25 May 2010 at 12:30am
Thanks Will. I guess I should have figured this out myself. New to SS, and development on this level, so please bear with me!
| 888 Views | ||
|
Page:
1
|
Go to Top |

