Returns a date value from the given {0}. If the given {0} is null , Date.From returns null . If the given {0} is date , {0} ...

Returns a date value from the given {0}. If the given {0} is null, Date.From returns null.  If the given {0} is date, {0} is returned. Values of the following types can be converted to a date value:
      
  • text: A date value from textual representation. See Date.FromText for details.
  • datetime: The date component of the {0}.
  • datetimezone: The date component of the local datetime equivalent of {0}.
  • number: The date component of the datetime equivalent the OLE Automation Date expressed by {0}.
If {0} is of any other type, an error is returned.