User`s guide

uURIEncode
138 Sybase IQ ETL 4.1
If no date is given, the time string now is assumed and the date is set to the
current date and time.
uDate() // returns something like "2006-03-01"
uDate() is equivalent to uDate("now")
Getting a special date
IN.Date = uDate("2004-01-04 14:26:33") // returns the
date part "2004-01-04"
Modifiers
The time string can be followed by zero or modifiers that alter the date or alter
the interpretation of the date. The available modifiers are as follows:
1 NNN days
2 NNN hours
3 NNN minutes
4 NNN.NNNN seconds
5 NNN months (see #551 and [1163])
6 NNN years (see #551 and [1163])
7 Start of month
8 Start of year
9 Start of week (withdrawn -- will not be implemented)
10 Start of day
11 Weekday N (see #551 and [1163])
12 unixepoch
13 localtime
14 utc
15 Julian
16 Gregorian
The first size modifiers (1 through 6) simply add the specified amount of time
to the date specified by the preceding time string. The “start of” modifiers (7
through 10) shift the date backwards to the beginning of the current month,
year, or day. The “weekday” modifier advances the date forward to the next
date where the weekday number is N: Sunday is 0, Monday is 1, and so on.