Skip to content

Instantly share code, notes, and snippets.

@edwinlab
Created November 23, 2017 03:40
Show Gist options
  • Select an option

  • Save edwinlab/596bacb18a4e6f0f2229e0bf1f235b57 to your computer and use it in GitHub Desktop.

Select an option

Save edwinlab/596bacb18a4e6f0f2229e0bf1f235b57 to your computer and use it in GitHub Desktop.
1609-09-12 19:02:35 PM +03:00 Sep Sat PDT 
--------------- + ------------ + ------------ 
Type            | Placeholder  |        Value 
--------------- + ------------ + ------------ 
Year            | 2006         | 1609         
Year            | 06           | 09           
Month           | 01           | 09           
Month           | 1            | 9            
Month           | Jan          | Sep          
Month           | January      | September    
Day             | 02           | 12           
Day             | 2            | 12           
Week day        | Mon          | Sat          
Week day        | Monday       | Saturday     
Hours           | 03           | 07           
Hours           | 3            | 7            
Hours           | 15           | 19           
Minutes         | 04           | 02           
Minutes         | 4            | 2            
Seconds         | 05           | 35           
Seconds         | 5            | 35           
AM or PM        | PM           | PM           
Milliseconds     | .000         | .123         
Microseconds    | .000000      | .123456      
Nanoseconds     | .000000000   | .123456789   
Timezone offset | -0700        | +0300        
Timezone offset | -07:00       | +03:00       
Timezone offset | Z0700        | +0300        
Timezone offset | Z07:00       | +03:00       
Timezone        | MST          | PDT          
--------------- + ------------ + ------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment