Hi Naveen,
"Naveen Mukkelli" <NaveenMukkelli@discussions.microsoft.com> schreef in
bericht news:07FE89EC-8CF3-47BC-BEC5-B908B0A10712@microsoft.com...[color=blue]
> Hi,
>
> I'm writing a server applicaiton using C# and .NET Framework.
> This server sends out time to all the clients. The clients are expected to
> be
> written in various platforms for example, Delphi, VB 6.0, C/C++, Java etc.
>
> How I can send the DateTime from .NET Framework to all these other
> platforms.
> I heard that sending time in "double" format would be accepted by all the
> platforms.
>
> Can we convert DateTime in C# to Double at all?
> If we use DateTime.ToFileTime() which return an Int64, can other
> platforms
> covert this Int64 back to the time?
>
> Kindly let me know.
>
> Cheers,
> Naveen.[/color]
You could choose XML as the interchange data format, and use the xs:dateTime
data type. The internet has a lot of useful pages to help you out for using
Xml, this one is probably good too
http://www.w3.org/XML/Schema. The .NET
Framework has a namespace with a lot of classes to work with Xml,
System.Xml.
Hope this helps,
Tom T.