Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!spool.mu.edu!news.cs.indiana.edu!arizona.edu!cerritos.edu!orion.oac.uci.edu!ucivax!ucla-cs!elroy.jpl.nasa.gov!sdd.hp.com! caen!hellgate.utah.edu!fcom.cc.utah.edu!npd.novell.com!newsun!hom From: hom@la.excelan.com (Hom Bahmanyar) Newsgroups: comp.windows.ms.programmer Subject: sShortDate and sLongDate parsers Keywords: win.ini intl sLongDate sShortDate Message-ID: <1991Apr1.212747.5291@novell.com> Date: 5 Apr 91 19:14:45 GMT Sender: news@novell.com ( Lines: 21 The News Manager) Nntp-Posting-Host: la Reply-To: hom@novell.com (Hom Bahmanyar) Organization: Novell, Inc., San Jose, Ca Date: Mon, 1 Apr 1991 21:27:47 GMT I am looking for a routine that can parse the sShortDate and sLongDate strings of the intl section of win.ini. For example, given three integers representing year, month, and day, this routine would generate a date string according to the format specified in sShortDate. Also, where can I find more information on the exact format of these strings? In particular, it would be nice to know what strings are considered illegal. Any help will be greatly appreciated. -- Hom Bahmanyar hom@novell.com