Re: convert date
From: P.Hill (goodhill_at_xmission.com)
Date: 04/02/04
- Next message: Andrew Thompson: "Re: Add an empty dir to a Zip file programmatically"
- Previous message: Andrew Thompson: "Re: Feeding long input to showDocument: any way to use POST?"
- In reply to: Jason: "Re: convert date"
- Next in thread: P.Hill: "Re: convert date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 01 Apr 2004 23:18:01 -0700
Jason wrote:
> Help. please.
>
> data in database:
> 2004-03-31 10:11:20 PM
>
> output required:
> 04/01/04 00:11:20
But you said you wanted MST to EST conversion right?
> I have no problem convert 2004-03-31 10:11:20 PM to 03/31/04 22:11:20
> but how can I added two hours to the output string so I can get 04/01/04
> 00:11:20?
> I have tried Calendar.add, but got error message, so please help,
Where you going to tell us the error message or just leave us to guess?
-Paul
- Next message: Andrew Thompson: "Re: Add an empty dir to a Zip file programmatically"
- Previous message: Andrew Thompson: "Re: Feeding long input to showDocument: any way to use POST?"
- In reply to: Jason: "Re: convert date"
- Next in thread: P.Hill: "Re: convert date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|