Difference between revisions of "Serv.rtime.format"
From SphereWiki
(Change %J value 0-366 to 1-366 Ref: https://web.archive.org/web/20080226060323/http://www.scit.wlv.ac.uk/cgi-bin/mansec?3C+strftime#) |
|||
Line 24: | Line 24: | ||
%I= hour 12hr clock | %I= hour 12hr clock | ||
− | %j= day of year | + | %j= day of year 1-366 |
%m= month number | %m= month number |
Latest revision as of 23:13, 12 June 2023
SERV.RTIME.FORMAT <args>
SERV.RTIME.FORMAT accepts arguments as a string, e.g. SERV.RTIME.FORMAT %d returns the number of the day.
Acceptable variables are:
%a= day name 3 letter
%A= day name full
%b= month name 3 letter
%B= month name full
%c= date & time numeric
%d= day of month
%H= hour 24hr clock
%I= hour 12hr clock
%j= day of year 1-366
%m= month number
%M= minutes
%p= AM/PM
%S= seconds
%U= week number 0-52 with Sunday as the first day of week 1
%w= week day numerical Sunday = 0
%W= week number in year 0-52 with Monday as the first day of week 1
%x= date numeric
%X= time numeric
%y= year 2 digit
%Y= year 4 digit
%z= Time zone