ThingWorx: Datetime format to be used in JavaScript with parseDate |
- The format strings used by the parseDate function are based on Java's DateTimeFormatter class.
- See https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html for more information about format strings.
- Format strings used by parseDate are case sensitive.
- Some of the common placeholders used by parseDate
- yyyy = Year (4 digits)
- yy = Year (2 digits)
- MM = Month (numeric)
- dd = Day
- HH = Hours (24h)
- hh = Hours (12h)
- mm = minutes
- ss = seconds
- SSS = milliseconds
- a = AM/PM
- zzz or ZZZ = timezone
- zzz assumes GMT with zero offset
- parseDate(newDate , "yyyyMMddHHmmsszzz")
- ZZZ - GMT zero offset must be explicitly set or UTC can be used
- e.g GMT0 or UTC
- parseDate( newDate , "yyyyMMddHHmmssZZZ")
I accept there are numerous more pleasurable open doors ahead for people that took a gander at your site.Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition.WE are providing AngularJs training in Velachery.
ReplyDeleteFor more details:AngularJs training in Velachery