Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime Transfer To/From .NET ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
DateTime Transfer To/From .NET ?
Divers
Thread ID:
00753821
Message ID:
00753821
Vues:
82
I am instancing a VFP COM object from a .NET object through COM Interop. I need to pass a datetime between the two. Since I can't make any assumptions about the .NET client's time formatting, I was thinking of using clock ticks. A few minutes ago, this is what I got from

Console.WriteLine( System.DateTime.Now.Ticks.ToString() );
631809485615112500

Is there a good way to convert that to a legit VFP datetime?


Or is there a better method for passing datetime between the two platforms?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform