Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / DateTime / Java toString - DateTime
In This Topic
    Java toString - DateTime
    In This Topic
    public String toString()
    public String toString(String format)
      Property Description  
        Argument format format specifies the strings format (default is "G" )  
        Description Returns a String representation of this DateTime.  
        Remarks Supported formats are:

    "G" = DD/MM/YYYY (or MM/DD/YYYY depending on current locale)
    "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]]