RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Date Format String Tokens

Date Format String Tokens

Token Meaning
%0 ASCII zero value
%DY Date (08)
%ST st, th or nd by date
%MN Month as number (04)
%MO Month as long entry (April)
%M3 Month as 3 letters (Apr)
%WK Week of year
%DN Day within year (098)
%WN Week day as number (7 = Saturday)
%W3 Week day as 3 letters (Sat)
%WE Week day as long (Saturday)
%CE Century as 2 digits (19)
%YR Year as 2 digits (95)
%24 Hour as 24 hour (15)
%12 Hour as 12 hour (03)
%AM am or pm
%PM am or pm
%MI Minute as 2 digits (25)
%SE Second as 2 digits (50)
%CS Centisecond as 2 digits (87)
%TZ Time zone (BST/DST+01:00, etc)
%% A % symbol

Notes

All numbers may be preceded by Z to suppress leading zeros.

See also

  • OS_ConvertDateAndTime
  • Territory_ConvertDateAndTime
Created on August 16, 2016 06:54:17 by Alan Robertson (52) (49.192.12.193)
Edit | Views: Print | Source | Linked from: OS_ConvertDateAndTime, Territory_ConvertTimeStringToOrdinals, Territory_ConvertDateAndTime, Territory_ReadCalendarInformation, System Variables

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys