Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!samsung!sol.ctr.columbia.edu!emory!gatech!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!rg2c+ From: rg2c+@andrew.cmu.edu (Robert Nelson Gasch) Newsgroups: comp.sys.mac.programmer Subject: GetDateTime() problem Message-ID: Date: 30 Jan 91 05:34:42 GMT Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA Lines: 13 I'm experiencing a strange problem when using the GetDateTime() function. Given the following declarations and call it returns something like -26305. long seed; GetDateTime (&seed); printf ("%d", seed); The above statements return seed to be something like -26305 which is obviously nonsense. If anybody has any idea what's wrong with this call, please let me know as I want to use the value returned by GetDateTime() as a seed for the random number generator. Thanx alot --> Rob