File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed 
modules/n1ql/pages/n1ql-language-reference Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change @@ -504,6 +504,72 @@ The elements are given in the table below.
504504| Seconds since 1970-01-01 00:00:00 UTC 
505505| `1624904579` 
506506
507+ | `x` 
508+ | Same as `%D` 
509+ | `2021-06-28` 
510+ 
511+ | `r` 
512+ | 12-hour time, hh:mm:ss AM/PM 
513+ | `07:22:59 AM` 
514+ 
515+ | `X` 
516+ | Same as `%T` 
517+ | `19:22:59` 
518+ 
519+ | `:z` 
520+ |  UTC offset in the format, +HH:MM 
521+ |  `+05:30` 
522+ 
523+ | `::z` 
524+ |  UTC offset in the format, +HH:MM:SS 
525+ | `+05:30:00` 
526+ 
527+ | `:::z` 
528+ | UTC offset with minimum precision as required for the time zone 
529+ | `+05:30` or `+05:30:00` 
530+ 
531+ | `V` 
532+ | ISO week number 
533+ | `27` 
534+ 
535+ | `G` 
536+ | Year corresponding to the ISO week number 
537+ | `2025` 
538+ 
539+ | `j` 
540+ | Day of the year 
541+ | `179` 
542+ 
543+ | `q` 
544+ | Quarter of the year, 1-4 
545+ | `2` 
546+ 
547+ | `w` 
548+ | Day of the week (Sunday=0) 
549+ | `1` 
550+ 
551+ | `u` 
552+ | Day of the week (Monday=1, Sunday=7) 
553+ | `2` 
554+ 
555+ 
556+ | `U` 
557+ | Week number of year (Sunday is first day of the week) 
558+ | `27` 
559+ 
560+ | `W` 
561+ | Week number of year (Monday is first day of the week) 
562+ | `27` 
563+ 
564+ | `#` 
565+ | Time since Epoch in the format, [total hours]:mm:ss  
566+ | `406464:27:15` 
567+ 
568+ 
569+ | `@` 
570+ | Time since Epoch in the format, [total hours]:mm:ss.fff 
571+ | `406464:27:15.123` 
572+ 
507573|==== 
508574
509575To specify a date format, you can put the format specifiers together in any order, along with any other characters as required. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments