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 @@ -506,6 +506,72 @@ The elements are given in the table below.
506506| Seconds since 1970-01-01 00:00:00 UTC
507507| `1624904579`
508508
509+ | `x`
510+ | Same as `%D`
511+ | `2021-06-28`
512+
513+ | `r`
514+ | 12-hour time, hh:mm:ss AM/PM
515+ | `07:22:59 AM`
516+
517+ | `X`
518+ | Same as `%T`
519+ | `19:22:59`
520+
521+ | `:z`
522+ | UTC offset in the format, +HH:MM
523+ | `+05:30`
524+
525+ | `::z`
526+ | UTC offset in the format, +HH:MM:SS
527+ | `+05:30:00`
528+
529+ | `:::z`
530+ | UTC offset with minimum precision as required for the time zone
531+ | `+05:30` or `+05:30:00`
532+
533+ | `V`
534+ | ISO week number
535+ | `27`
536+
537+ | `G`
538+ | Year corresponding to the ISO week number
539+ | `2025`
540+
541+ | `j`
542+ | Day of the year
543+ | `179`
544+
545+ | `q`
546+ | Quarter of the year, 1-4
547+ | `2`
548+
549+ | `w`
550+ | Day of the week (Sunday=0)
551+ | `1`
552+
553+ | `u`
554+ | Day of the week (Monday=1, Sunday=7)
555+ | `2`
556+
557+
558+ | `U`
559+ | Week number of year (Sunday is first day of the week)
560+ | `27`
561+
562+ | `W`
563+ | Week number of year (Monday is first day of the week)
564+ | `27`
565+
566+ | `#`
567+ | Time since Epoch in the format, [total hours]:mm:ss
568+ | `406464:27:15`
569+
570+
571+ | `@`
572+ | Time since Epoch in the format, [total hours]:mm:ss.fff
573+ | `406464:27:15.123`
574+
509575|====
510576
511577To 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