Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with UTC conversion & WindowsTime
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00725377
Message ID:
00725391
Vues:
18
Sorry, I forgot to add the error message:

Function argument value, type, or count is invalid.

I was also able to dig further (I was unable to see the source of con_time at first but realized it was because I was messing with my date/time and needed to recompile) to find exactly why it's blowing up ... but I'll still need your help to figure out what needs to be done to correct this.

The exact line of code is in the AdjustDate method of the ConvertTime class.
    lddate = DATE(tnyear, tnmonth, 1)
tnmonth is being passed in as spaces. This I traced back to the Get_Bias function of the ConvertTime class. The lines:
    lcstdsystime = SUBSTR(lctimezone, 69, 16)
    lcdaysystime = SUBSTR(lctimezone, 153, 16)
seem to return blank results. I think the Time Zone is being returned differently than you're expecting.

I'm running WinXP Pro. I don't know if that makes any difference.

Thanks again for whatever help you can offer!

Rodd
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform