dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] Date and Time on Mac OSX


From: Baker, GJ (Gareth)
Subject: [Pnet-developers] Date and Time on Mac OSX
Date: Thu, 12 Feb 2004 08:40:14 -0000

The date and time stuff does not seem to produce sensible information on Mac
OSX 10.3 (pnetlib 0.6.2). A very simple program to print the current date
and time to the console produces a date sometime in 2063 when run under
ilrun (when the same program in run under mint from Mono it gives the right
date and time):

using System;

calss MainApp {
        public static Main(){
                DateTime dt = DateTime.Now;

                Console.WriteLine("The current date and time are: : {0}",
dt);
        }
}

Is this a known problem?

Thanks
Gareth Baker



reply via email to

[Prev in Thread] Current Thread [Next in Thread]