Hengshi Documentation

  • Getting Started
    • Introduction
    • Installation
    • Quick Start
    • QingCloud Quick Start
    • UniCloud Quick Start
  • System Administrator Manual
    • User Management
    • Tenant Management
    • Security Policies
    • Authentication Methods
    • Software Licensing
    • System Preferences
    • System Logs
    • Data Warehouse Management
    • More >
  • Data Manager Manual
    • Data Manager
    • Data Preparation
    • Data Science
    • Data Marketplace
    • Connection Permissions
    • Connecting Data Sources
    • Connection Search
  • Analyst Handbook
    • Data Analyst
    • Application Creation
    • Shared Space
    • Application Marketplace
    • Data Set Management
    • Data Model
    • Application Settings
    • Parameters
    • Dashboard
    • Charts
    • More >
  • Data Viewer Manual
    • Data Viewer
    • Application Marketplace
  • Typical Application Scenario Solutions
    • Operations Scenario
    • Development Scenario
    • Usage Scenario
  • Appendix
    • Release Notes
    • Glossary for Chinese-English Terms
    • SENSE Usage License Agreement
    • Data Source Version Support
  • Hengshi Analytics Platform API Manual

Date and Time Parsing Formats

Character Description Example
y Year yyyy => 2018; yy=> 18
M Month of the year MM => 08; MMM => Aug; MMMM => August
d Day of the month dd => 09
H Hour of the day (0-23) HH => 13
m Minute of the hour mm => 25
s Second of the minute ss => 56
S Millisecond SSS => 367
Z Time zone Z => +0800

For example, the text of time:

2018/08/09 13:25:56.367 +0800

can be parsed using:

yyyy/MM/dd HH:mm:ss.SSS Z