Skip to main content

 

Planview Customer Success Center

ToOrganizationalDateTime Function

ToOrganizationalDateTime (dateTime as DateTime) as DateTime

Category: Date
Description: Converts a DateTime argument to the timezone of the Organization
Supported Context: FormulaField And BusinessRules
Parameters:  
dateTime as DateTime Represents a date time value or reference to a field that will return a date time
Returned value as DateTime Returns a date time value equal to the date time entered in the "dateTime" parameter converted to the organization time based on the organization time zone
Example #1

Return the organization time when using the Now() function

Within a workflow rule, when trying to return a date time using the function Now(), use the ToOrganizationalDateTime function to ensure that it returns the current date time as per the organizations timezone.

ToOrganizationalDateTime(Now())

Related Functions

Today()

ToOrganizationalDateTime()