Hello,
I need to know the Universe Designer syntax for the following 2 Crystal Functions that I created to translate Mumps Date and Mumps Time.
Function (StringVar MTIME)
TimeSerial(0,0,tonumber(MTIME))
This takes a numeric and translates it to a time...for example "70" gets translated to 12:01:10 AM (the MTIME keeps the seconds since midnight)
Function (StringVar MDATE)
DateAdd("d", +tonumber(MDATE), #Jan 01, 1841#)
This takes the numeric value and assigns a date since the MDATE is a count of the days that have gone by since 1/1/1841
I do not know the Oracle Syntax so please point me in the right direction...
Thank you,
G
I need to know the Universe Designer syntax for the following 2 Crystal Functions that I created to translate Mumps Date and Mumps Time.
Function (StringVar MTIME)
TimeSerial(0,0,tonumber(MTIME))
This takes a numeric and translates it to a time...for example "70" gets translated to 12:01:10 AM (the MTIME keeps the seconds since midnight)
Function (StringVar MDATE)
DateAdd("d", +tonumber(MDATE), #Jan 01, 1841#)
This takes the numeric value and assigns a date since the MDATE is a count of the days that have gone by since 1/1/1841
I do not know the Oracle Syntax so please point me in the right direction...
Thank you,
G