Re: [bdbxml] DATE_TIME format
Thomas Schmidt <[email protected]> Tue, 20 Sep 2005 00:32:23 +0200
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Mark Robert Salamon schrieb:
> I tried just a date.toString() method, but that did not work. Somewhere
> on the web it shows that as being ok.
Hi, you can use:
new SimpleDateFormat("yyyy'-'MM'-'dd'T'HH':'mm':'ss").format(new Date())
to get the correct format.
Greetings
--
Thomas Schmidt ([email protected])
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
------------------------------------------
To remove yourself from this list, send an
email to [email protected]