Date: Mon, 29 Dec 2008 16:50:57 -0500
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Time format with leading zero?
John,
Try TOD5.
Art
-------
On Mon, 29 Dec 2008 20:26:18 +0000, John Whittington
<John.W@MEDISCIENCE.CO.UK> wrote:
>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
>----------------------------------------------------------------
|