Crystal Reports for Eclipse Designer Guide

DTSToTimeField (DateTimeString)

Description
Evaluates the string specified and returns a Time data type.
Arguments
  • DateTimeString is a string including a Date and a Time value.
  • Returns
    Time value
    Action
    Evaluates the string specified and returns a Time data type.
    Examples
    DTSToTimeField ("2000/01/13 11:30:15")
    Returns the Time value, 11:30:15 am. The month must be entered as 01 rather than just 1.
    Comments
    For new formulas, use the CTime or TimeValue functions instead of DTSToTimeField. The CTime and TimeValue functions are able to convert more types of strings.



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