⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 5 of about 5 for Monday (0.001 sec.)
Date Format Functions 11968
The strftime and strptime functions can be used to convert between DATE / TIMESTAMP values and strings. This is often required when parsing CSV files, displaying output to the user or transferring information between programs. Because there ... ATE '1992-03-02', '%d/%m/%Y'); 02/03/1992 SELECT strftime(TIMESTAMP '1992-03-02 20:32:45', '%A, %-d %B %Y - %I:%M:%S %p'); Monday, 2 March 1992 - 08:32:45 PM strptime Examples The strptime(text, format) function converts strings to timestamps according ... to the specified pattern. SELECT strptime('02/03/1992', '%d/%m/%Y'); 1992-03-02 00:00:00 SELECT strptime('Monday, 2 March 1992 - 08:32:45 PM', '%A, %-d %B %Y - %I:%M:%S %p'); 1992-03-02 20:32:45 The strptime function throws an error on ... format specifiers. Specifier Description Example %a Abbreviated weekday name. Sun, Mon, ... %A Full weekday name. Sunday, Monday, ... %b Abbreviated month name. Jan, Feb, ..., Dec %B Full month name. January, February, ... %c ISO date and time represe ...
https://man.mtool.work/duckdb/2.0/sql/functions/dateformat.html
Date Part Functions 10663
The date_part , date_trunc and date_diff functions can be used to extract or manipulate parts of temporal types such as TIMESTAMP , TIMESTAMPTZ , DATE and INTERVAL . The parts to be extracted or manipulated are specified by one of the strin ... ) doy 215 epoch Seconds since 1970-01-01 1627991984.123456 era Gregorian era (CE/AD, BCE/BC) 1 isodow ISO day of the week (Monday = 1, Sunday = 7) 2 isoyear ISO Year number (Starts on Monday of week containing Jan 4th) 2021 julian Julian Day number. 24 ... r / 10). epoch(date) Seconds since 1970-01-01. era(date) Calendar era. hour(date) Hours. isodow(date) Numeric ISO weekday (Monday = 1, Sunday = 7). isoyear(date) ISO Year number (Starts on Monday of week containing Jan 4th). julian(date) DOUBLE Julian ... Example | hour(timestamp '2021-08-03 11:59:44.123456') | | Result | 11 | isodow(date) | Description | Numeric ISO weekday (Monday = 1, Sunday = 7). | | Example | isodow(DATE '1992-02-15') | | Result | 6 | isoyear(date) | Description | ISO Year number ( ...
https://man.mtool.work/duckdb/2.0/sql/functions/datepart.html
Timestamp with Time Zone Functions 8273
This section describes functions and operators for examining and manipulating TIMESTAMP WITH TIME ZONE (or TIMESTAMPTZ ) values . See also the related TIMESTAMP functions . Time zone support is provided by the built-in ICU extension . In th ... bucket_width is a number of months or coarser units, else 2000-01-03 00:00:00+00:00[ + offset] . Note that 2000-01-03 is a Monday. time_bucket(bucket_width, timestamptz[, origin]) Truncate timestamptz to a grid of width bucket_width . The grid is ancho ... 00:00 when bucket_width is a number of months or coarser units, else 2000-01-03 00:00:00+00:00 . Note that 2000-01-03 is a Monday. time_bucket(bucket_width, timestamptz[, timezone]) Truncate timestamptz to a grid of width bucket_width . The grid is anc ... arser units, else 2000-01-03 00:00:00 in the provided timezone . The default timezone is 'UTC' . Note that 2000-01-03 is a Monday. age(timestamptz, timestamptz) | Description | Subtract arguments, resulting in the time difference between the two timest ...
https://man.mtool.work/duckdb/2.0/sql/functions/timestamptz.html
Date Functions 8052
This section describes functions and operators for examining and manipulating DATE values. Date Operators The table below shows the available mathematical operators for DATE types. Operator Description Example Result + addition of days (int ... + offset] when bucket_width is a number of months or coarser units, else 2000-01-03[ + offset] . Note that 2000-01-03 is a Monday. time_bucket(bucket_width, date[, origin]) Truncate timestamptz to a grid of width bucket_width . The grid is anchored at ... faults to 2000-01-01 when bucket_width is a number of months or coarser units, else 2000-01-03 . Note that 2000-01-03 is a Monday. today() Current date (start of current transaction) in the local time zone. date_add(date, interval) | Description | Add ... + offset] when bucket_width is a number of months or coarser units, else 2000-01-03[ + offset] . Note that 2000-01-03 is a Monday. | | Example | time_bucket(INTERVAL '2 months', DATE '1992-04-20', INTERVAL '1 month') | | Result | 1992-04-01 | time_buck ...
https://man.mtool.work/duckdb/2.0/sql/functions/date.html
Timestamp Functions 6967
This section describes functions and operators for examining and manipulating TIMESTAMP values . See also the related TIMESTAMPTZ functions . Timestamp Operators The table below shows the available mathematical operators for TIMESTAMP types ... when bucket_width is a number of months or coarser units, else 2000-01-03 00:00:00[ + offset] . Note that 2000-01-03 is a Monday. time_bucket(bucket_width, timestamp[, origin]) Truncate timestamp to a grid of width bucket_width . The grid is anchored ... 01 00:00:00 when bucket_width is a number of months or coarser units, else 2000-01-03 00:00:00 . Note that 2000-01-03 is a Monday. try_strptime(text, format-list) Converts the string text to timestamp applying the format strings in the list until one s ... when bucket_width is a number of months or coarser units, else 2000-01-03 00:00:00[ + offset] . Note that 2000-01-03 is a Monday. | | Example | time_bucket(INTERVAL '10 minutes', TIMESTAMP '1992-04-20 15:26:00-07', INTERVAL '5 minutes') | | Result | 1 ...
https://man.mtool.work/duckdb/2.0/sql/functions/timestamp.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work