Skip to end of banner
Go to start of banner

startOfDay

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!

Availability

This routine is available starting with SIL Engine™ 1.0.

Syntax

startOfDay(date)

Description

Returns a date, but strips off the hours, minutes and seconds.

Parameters

Parameter name

Type

Required

Description

date

date

Yes

Specifies a Date expression.

Return type

date

Example

Example 1

if(datepicker < startOfDay(currentDate())){
    return false;
}

Example 2

date varDate = "2011-08-17";
print("Date is " + startOfDay(varDate));

Print Date is 17/Aug/11

See also


  • No labels