Liquid XML Data Binder (C++, Java, VB6) / Reference / Visual Basic 6 / Reference / DateTime / VB6 ToString - DateTime
In This Topic
    VB6 ToString - DateTime
    In This Topic
    Public Function ToString(ByVal formatString As String) As String
      Property Description  
        Argument format format specifies the strings format  
        Description Returns a std::string representation of this CDateTime.  
        Remarks Supported formats are:

    "s" = XML Schema depending on curremnt type:
    dateTime comprises [-]CCYY-MM-DDThh:mm:ss[.fffffff][[Z]|[[+|-]hh:mm]]
    date comprises [-]CCYY-MM-DD[[Z]|[[+|-]hh:mm]]
    gDay comprises ---DD[[Z]|[[+|-]hh:mm]]
    gMonth comprises --MM[[Z]|[[+|-]hh:mm]]
    gYear comprises [-]CCYY[[Z]|[[+|-]hh:mm]]
    gMonthDay comprises --MM-DD[[Z]|[[+|-]hh:mm]]
    gYearMonth comprises [-]CCYY-MM[[Z]|[[+|-]hh:mm]]
    time comprises hh:mm:ss[.fffffff][[Z]|[[+|-]hh:mm]]