Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime Transfer To/From .NET ?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
DateTime Transfer To/From .NET ?
Miscellaneous
Thread ID:
00753821
Message ID:
00753821
Views:
76
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.
Next
Reply
Map
View

Click here to load this message in the networking platform