[softwarelist] Re: Date in OvPro
- From: Andrew Conroy <andrew@xxxxxxxxxx>
- To: davidpilling@xxxxxxxxxxxxx
- Date: Thu, 18 Feb 2016 19:23:05 +0000 (GMT)
In article <56C5D1DA.5090204@xxxxxxxxxxxxxxxxxxx>,
David Pilling <david@xxxxxxxxxxxxxxxxxxx> wrote:
Hi,
On 18/02/2016 07:50, Peter Young wrote:
Yes, in Choices > General. The syntax is a bit involved; I have %ZDY
%MO %CE%YR, which gives 18 February, 2016. I think the format is in
the FM.
The codes are from Acorn, part of RISC OS (so you'd find them
documented there as well). Other systems have their own - similarly
opaque.
For reference, IIRC the RISC OS/clib format string used is:
%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
All numbers may be preceded by Z to suppress leading zeros.
(From the OS StrongHelp manual)
Andrew
--
http://www.owlart.co.uk/
+----------------------------------------+---------------------------------+
| Owl-Art Un-Ltd. Design and Print Work | email: Andrew@xxxxxxxxxxxx |
+----------------------------------------+---------------------------------+
To unsubscribe or subscribe goto:
//www.freelists.org/list/davidpilling
Other related posts: