realbasic-nug
[Top] [All Lists]

Date in Realdb

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Date in Realdb
From: Wade Little <wade dot little at sbcglobal dot net>
Date: Sun, 29 Feb 2004 21:11:12 -0800
I am getting date value by converting a string value to a date with Parsedate like this:
GameDate looks like this 03/04/2004
result=ParseDate(GameDate, ConDate)

I am loading this date in the realdb as:
ConDate.SQLDate

Which stores date as:
2004-03-04

I then read back the Date and would like to convert it back to it's original format.
ReadDate=rs.Field("GameDate").getString

This returns a value to ReadDate in the SQLDate format, but ParseDate does not appear to have a way to deal with a SQLDate to convert it back to 03/04/2004 format....

Any I crazy here or do I just have to do the conversion manually?

Wade



- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>