Date: Mon, 29 Dec 2008 20:26:18 +0000
Reply-To: John Whittington <John.W@MEDISCIENCE.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: John Whittington <John.W@MEDISCIENCE.CO.UK>
Subject: Time format with leading zero?
Content-Type: text/plain; charset="us-ascii"; format=flowed
Hi folks,
Am I going mad or losing my memory? I surely must have encountered this a
million times before!
Is there not a format (available in v8.2) which produces what I would have
thought was the most commonly required format for a time variable,
namely HH:MM with HH padded with a leading zero if necessary - i.e. 07:59,
rather than 7:59 (which is what time5. appears to produce)? There are
obviously workarounds one could implement, but I just find it hard to
believe that such an intrinsic format does not exist!
TIA.
Kindest Regards,
John
----------------------------------------------------------------
Dr John Whittington, Voice: +44 (0) 1296 730225
Mediscience Services Fax: +44 (0) 1296 738893
Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk
Buckingham MK18 4EL, UK
----------------------------------------------------------------
|