.:M4rKO:.
30-03-2004, 14:03
Non riesco a trasformare un campo datetime xml in un oggetto Date java.
Il tipo datetime č cosė definito dal W3C:
CCYY-MM-DDThh:mm:ss where "CC" represents the century, "YY" the year, "MM" the month and "DD" the day; The letter "T" is the date/time separator and "hh", "mm", "ss" represent hour, minute and second respectively
Aggiungendo anche il time zone:
...immediately followed by a sign, + or -, followed by the difference from UTC represented as hh:mm (note: the minutes part is required).
For example, to indicate 1:20 pm on May the 31st, 1999 for Eastern Standard Time which is 5 hours behind Coordinated Universal Time (UTC), one would write: 1999-05-31T13:20:00-05:00.
Il mio obiettivo č quello di convertire il datetime da xml a oggetto e da oggetto a xml. Qualcuno sa aiutarmi???? :confused: :confused:
Il tipo datetime č cosė definito dal W3C:
CCYY-MM-DDThh:mm:ss where "CC" represents the century, "YY" the year, "MM" the month and "DD" the day; The letter "T" is the date/time separator and "hh", "mm", "ss" represent hour, minute and second respectively
Aggiungendo anche il time zone:
...immediately followed by a sign, + or -, followed by the difference from UTC represented as hh:mm (note: the minutes part is required).
For example, to indicate 1:20 pm on May the 31st, 1999 for Eastern Standard Time which is 5 hours behind Coordinated Universal Time (UTC), one would write: 1999-05-31T13:20:00-05:00.
Il mio obiettivo č quello di convertire il datetime da xml a oggetto e da oggetto a xml. Qualcuno sa aiutarmi???? :confused: :confused: