<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 May 2005 00:55:00 Z</lastBuildDate><pubDate>11 May 2005 18:24:00 Z</pubDate><description>Hello,&#13;
In the Magic definition of date-fields you can use a lot way of storages. For reading by ODBC you had to define the storage as 'YYMD Date', but the default is 'Integer Date'. When you read that storage by ODBC you get a value instead of a date. To preventing conversion within Magic you can use the following command to get the right date : V_Date = IntegerToDate(V_Integer - 657071),&#13;
where V_date is a date-field and V_Integer is the integer date-field read by ODBC.&#13;
The IntegerDate holds the number of days from a starting date, but in Magic and WinDev they are not the same.&#13;
Maybe this is interesting stuff for those who want to convert Magic_Pervasive files to WinDev_HyperFiles, maybe it's not.&#13;
Kind regards,&#13;
Teun.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/4209-magic-integer-date-windev-real-date/read.awp</link><title>Magic Integer Date to WinDev Real Date</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>gill</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/4209-magic-integer-date-windev-real-date-4213/read.awp</comments><pubDate>12 May 2005 00:55:00 Z</pubDate><description>Yes, Tuen,&#13;
So when an OCX is written is VisVeryBasic you must also reload the starting date so WD can cope with it.&#13;
WorkingDat…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/4209-magic-integer-date-windev-real-date-4213/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/4209-magic-integer-date-windev-real-date-4213/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/4209-magic-integer-date-windev-real-date/read.awp">Magic Integer Date to WinDev Real Date</source><title>Re: Magic Integer Date to WinDev Real Date</title></item></channel></rss>
