From: Frank on
Hi all,

how can I convert this Dateformat:
<date value="1208194275921" />

into the real Date an Time?

Thanks Frank M







From: John Martens on
Frank,

What date should it be ?

John


Frank schreef:
> Hi all,
>
> how can I convert this Dateformat:
> <date value="1208194275921" />
>
> into the real Date an Time?
>
> Thanks Frank M
>
>
>
>
>
>
>
From: Frank on
I don´t know.
It is from a Java App. that Export a XML File.
So far as i know, the Date in this Sample 15.04.2008

Frank



On 16 Apr., 08:12, John Martens <adsl672...(a)tiscali.nl> wrote:
> Frank,
>
> What date should it be ?
>
> John
>
> Frank schreef:
>
>
>
> > Hi all,
>
> > how can I convert  this Dateformat:
> > <date value="1208194275921" />
>
> > into the real Date an Time?
>
> > Thanks Frank M- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

From: Stephen Quinn on
Frank

> So far as i know, the Date in this Sample 15.04.2008

If all the dates are in that format (IIRC GERMAN/FRENCH) then you can do the following

Set( _SET_DATEFORMAT, 'DD.MM.YYYY' )

cDate := GetDateFromXML(<WhateverField>)
dDate := CTOD( cDate )

Set( _SET_DATEFORMAT, 'DD/MM/YYYY' )

? DTOC( dDate ) //-- 15/04/2008

--
CYA
Steve


From: Frank on
Steve,

where I can found GetDateFromXML ?

Frank


On 16 Apr., 09:14, "Stephen Quinn" <stevej...(a)SPbigpond.AMnet.au>
wrote:
> Frank
>
> > So far as i know, the Date in this Sample 15.04.2008
>
> If all the dates are in that format (IIRC GERMAN/FRENCH) then you can do the following
>
> Set( _SET_DATEFORMAT, 'DD.MM.YYYY' )
>
> cDate := GetDateFromXML(<WhateverField>)
> dDate := CTOD( cDate )
>
> Set( _SET_DATEFORMAT, 'DD/MM/YYYY' )
>
> ? DTOC( dDate )     //-- 15/04/2008
>
> --
> CYA
> Steve

 |  Next  |  Last
Pages: 1 2 3
Prev: Vulcan or Cavo 2.8 ?
Next: VO & Ado