New topic: Creating a Date object from a String
<http://forums.realsoftware.com/viewtopic.php?t=47861> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message shusseina Post subject: Creating a Date object from a StringPosted: Mon May 13, 2013 6:39 am Joined: Fri Nov 16, 2012 11:58 pm Posts: 4 Hi folks I am reading in data from a file. The data includes date and time values which I initially read from the file as strings. How do I create a Date object from a String object, where the String holds a date and time? Surely Real Basic must have a built-in method for creating a Date object from such a string? I have tried parseDate, but it zeros the time component. // dateTimeString is 23-Nov-10 8:30:00 a.m. // After call... // aDate is 2010-11-23 00:00:00 // aValidDate is true aValidDate = ParseDate(dateTimeString, aDate) Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
