Hello!  Try %Y/%m/%d

FYI, the strftime man page contains this information, it is a good
resource.

>From the page:

%e    is replaced by the day of month as a decimal number (1-31); single
digits are preceded by a blank.

%d    is replaced by the day of the month as a decimal number (01-31).

Good luck!

 / / Jason
 

On Sun, 2 Jul 2000, Brian Morris wrote:

> Date: Sun, 2 Jul 2000 15:10:22 +1000
> From: Brian Morris <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: (RADIATOR) Problem with formatted-date
> 
> I am using a line like the following to write the date in a human-readable
> form to by SQL table...
> 
> AcctColumnDef HUMANDATE,Timestamp,formatted-date,'%Y/%m/%e'
> 
> On dates below the 10th of the month it creates entries like  2000/07/ 2
> (With a space before the last digit) - what I would like it to record is
> 2000/07/02 (with a zero instead of the space before the last digit)
> 
> Does anyone have any suggestions on how I can do this?  Or is this a bug?
> 
> Regards,  Brian Morris
> 
> 
> 
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
> 


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to