FB5 SetFileDate Problem

The following VBScript attached to the SetFileDate action doesn't work correctly now in FB 5.5.0.729:

Action.DateTime = Cdate(SkylogProVerAge)

If SkylogProVerAge is 08/06/2008, the Date is set to 06/08/2008 (US date format). I'm pretty sure this worked ok in previous versions.

Using Windows XP Home SP3.

Regards...Andrew

 

 

Hmm.. Doesn't work correctly in FB 5.5.0.707 either. My regional settings Date format is correct at dd/MM/yyy (08/06/2008 - English (United Kingdom)). I wonder if this is an XP SP3 issue?

Regards...Andrew

 

Seems like an XP SP3 issue. I googled and found a confirmation and a possible workaround described here:

http://www.edugeek.net/forums/scripts/19075-windows-xp-sp3-cannot-tell-time-2.html

Going on this information, if you go to Project -> "Project Global Script" in the FB IDE and insert SetLocale(2057) into the VBScript section, it should fix the problem for all scripts in your project.

- Angus

Here’s the KB on this bug from Microsoft :

http://support.microsoft.com/kb/951978



Thanks for the info. Tough if you use JScript!

Regards...Andrew