Difference between revisions of "Serv.rtime.format"
From SphereWiki
(Created page with "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 ...") |
(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#) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
SERV.RTIME.FORMAT <args> | SERV.RTIME.FORMAT <args> | ||
| + | |||
SERV.RTIME.FORMAT accepts arguments as a string, e.g. SERV.RTIME.FORMAT %d returns the number of the day. | SERV.RTIME.FORMAT accepts arguments as a string, e.g. SERV.RTIME.FORMAT %d returns the number of the day. | ||
| + | |||
Acceptable variables are: | Acceptable variables are: | ||
| + | |||
%a= day name 3 letter | %a= day name 3 letter | ||
| + | |||
%A= day name full | %A= day name full | ||
| + | |||
%b= month name 3 letter | %b= month name 3 letter | ||
| + | |||
%B= month name full | %B= month name full | ||
| + | |||
%c= date & time numeric | %c= date & time numeric | ||
| + | |||
%d= day of month | %d= day of month | ||
| + | |||
%H= hour 24hr clock | %H= hour 24hr clock | ||
| + | |||
%I= hour 12hr clock | %I= hour 12hr clock | ||
| − | %j= day of year | + | |
| + | %j= day of year 1-366 | ||
| + | |||
%m= month number | %m= month number | ||
| + | |||
%M= minutes | %M= minutes | ||
| + | |||
%p= AM/PM | %p= AM/PM | ||
| + | |||
%S= seconds | %S= seconds | ||
| + | |||
%U= week number 0-52 with Sunday as the first day of week 1 | %U= week number 0-52 with Sunday as the first day of week 1 | ||
| + | |||
%w= week day numerical Sunday = 0 | %w= week day numerical Sunday = 0 | ||
| + | |||
%W= week number in year 0-52 with Monday as the first day of week 1 | %W= week number in year 0-52 with Monday as the first day of week 1 | ||
| + | |||
%x= date numeric | %x= date numeric | ||
| + | |||
%X= time numeric | %X= time numeric | ||
| + | |||
%y= year 2 digit | %y= year 2 digit | ||
| + | |||
%Y= year 4 digit | %Y= year 4 digit | ||
| + | |||
%z= Time zone | %z= Time zone | ||
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