PDA

View Full Version : Converting Subscription Date



NewsArchive
02-28-2009, 02:15 AM
Hello Friedrich,

i need to convert the subscription date string 20090227 in a date format i.e.
27.02.2009 within my clarion app. Export the date to my subscription.ini and
import than in my app will work very well :-)

Please, do you have any code to convert this date? I tried the date pictures
and format, deformat but can´t figure this out.

Thanks much

Kai

NewsArchive
02-28-2009, 02:16 AM
Hi Kai,

> i need to convert the subscription date string 20090227 in a date format
> i.e. 27.02.2009 within my clarion app. Export the date to my
> subscription.ini and import than in my app will work very well :-)
>
> Please, do you have any code to convert this date? I tried the date
> pictures and format, deformat but can´t figure this out.

See attached script snippet screenshot and .sb6 project.

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
02-28-2009, 02:17 AM
Hello Friedrich,

thanks much. I tried to convert the date in clarion but now i can convert the
date in SB and write this date format to my ini :-)

Schönes Wochenende und lieben Gruß

Kai

NewsArchive
02-28-2009, 02:17 AM
.. and i figured out this in clarion too:

deformat(LOC:Temp1,@D12)
format(LOC:Temp1,@D6.)

Thanks much Kai