Skip to main content
Planview Customer Success Center


ToDate (dateTime as DateTime) as DateTime

Category: Convert
Description: Converts a DateTime value to Date type value by removing time value in the argument provided
Supported Context: FormulaField And BusinessRules
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 value equal to the date time value specified in the "dateTime" parameter
Example #1

Convert a Date and Time value into a date for a Custom Field within work items

ToDate(DateTimeValue(“2011-05-01 19:30:00”))

Tips See also DateTimeValue(), DateValue() and DateTime()
Related Functions