Use This Template

Date

Returns a new DateTime that represents the date component of this instance.

  • Using DateTime.Today will return the current date when used in a date field with a time set to midnight. This function is best used in a Date field.
  • Using DateTime.Now will return the current date, along with the current time. This function is best used in a Time field.

Date

Returns a new DateTime that represents the date component of this instance.