I am decoding an Exif tag DateTime.
The value collected is in the form 2009:12:19 14:07:30 in my example
my code is
<code>
myvalue = ALLTRIM(Value)
mypos = AT(' ',myvalue)
mydate = SUBSTR(myvalue,1,mypos)
mytime = SUBSTR(myvalue,mypos,LEN(myvalue))
thisform.txtdatetime1.value = mydate
thisform.txtdatetime2.value = mytime
</code>
I would like to look at the 'International Settings/Region' of a particular PC and present the date correctly.
Is there a code snippet to show me how to easily
check the 'format' of the Exif DataTime tag based on the
2009:12:19 YYMMDD ?
Can I use VFP functions to get a 'converted' date string as required by the Region setting?
Thanks for any help
Coldan
The value collected is in the form 2009:12:19 14:07:30 in my example
my code is
<code>
myvalue = ALLTRIM(Value)
mypos = AT(' ',myvalue)
mydate = SUBSTR(myvalue,1,mypos)
mytime = SUBSTR(myvalue,mypos,LEN(myvalue))
thisform.txtdatetime1.value = mydate
thisform.txtdatetime2.value = mytime
</code>
I would like to look at the 'International Settings/Region' of a particular PC and present the date correctly.
Is there a code snippet to show me how to easily
check the 'format' of the Exif DataTime tag based on the
2009:12:19 YYMMDD ?
Can I use VFP functions to get a 'converted' date string as required by the Region setting?
Thanks for any help
Coldan