Crystal Reports for Eclipse Designer Guide

DateTimeToDate (dateTime)

Description
Evaluates the DateTime value specified and converts it to a Date value.
Arguments
  • dateTime is a DateTime value.
  • Returns
    Date value
    Action
    Evaluates the DateTime value specified and converts it to a Date value.
    Examples
    DateTimeToDate(#11/01/1998 11:15:00 AM#)
    Returns the Date value 11/01/1998.
    Comments
    For new formulas, you can use the CDate or DateValue functions instead of DateTimeToDate when converting a DateTime value to a Date value. The CDate and DateValue functions are more efficient since they are not UFLs.



    SAP BusinessObjects
    http://www.sap.com/sapbusinessobjects/
    Support services
    http://service.sap.com/bosap-support/
    Product Documentation on the Web
    http://help.sap.com/