Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Format String with Timezone?

    I see the FormatString class explicitly states:

    SimpleDateFormat specifies that we do not support:

    Era designator, BC/AD (G)
    Day of week in month (F)
    Hour in day, 24-hour, with 1-based instead of normal 0-based numbering (hours are 1-24) (k)
    Hour in day, 12-hour, with 0-based instead of normal 1-based numbering (hours are 0-11) (K)
    Milliseconds (S)
    Timezone (z, Z, X)

    Just wondering if there is some way I can display the timezone of my DateTime (java Date object) with the timezone as a String?
Working...
X