Date: Wed, 3 Sep 2008 11:38:33 -0400
Reply-To: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject: Re: Picture format
Question is, do you really have time-variables? Not chracter variables
which look like time variable?
If that is the case, you should convert that to real time-variables:
put tx time8.;
put ty time8.;
If you have already numeric time - variables, siply assign a wider time-
format. time8. should do what you want.
On Wed, 3 Sep 2008 08:12:49 -0700, Learner <pradev@GMAIL.COM> wrote:
>I have a time variable with hours and minutes for example, 16:20,
>2:27, 6:18 etc. I want to add zero if the length of the time variable
>is less than 5 like 02:27. Please let me know how to do this by using
>the picture format.