Info |
---|
|
This routine is available starting with SIL Engineā¢ 1.0. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | startOfDay(date) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns a date, but strips off the hours, minutes and seconds. |
Returns a date, but strips off the hours, minutes and seconds.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
date | |
...
Date | Yes | Specifies a Date expression. |
|
Return
...
Type
dateDate
...
Examples
Example 1
Code Block |
---|
if(datepicker < startOfDay(currentDate())){
return false;
}
|
Example 2
Code Block |
---|
date varDate = "2011-08-17";
print("Date is " + startOfDay(varDate));
|
Print Date is 17/Aug/11
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 10025 |
---|
showSpace | false |
---|
cql | label = "date_routines" and space = currentSpace ( ) |
---|
labels | datearray_routines |
---|
|