Skip to content

Commit

Permalink
docs(udf): upgrade udf list (#3541)
Browse files Browse the repository at this point in the history
Co-authored-by: aceforeverd <[email protected]>
  • Loading branch information
github-actions[bot] and aceforeverd authored Oct 12, 2023
1 parent 3437741 commit 72a49d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,12 @@ Supported date string style:

* yyyy-mm-dd
* yyyymmdd
* yyyy-mm-dd hh:mm:ss
* yyyy-mm-dd HH:MM:SS
* yyyy-mm-ddTHH:MM:SS.fff+HH:MM (RFC3399 format)

Dates from string are transformed into the same time zone (which is currently always UTC+8) before differentiation, dates from date type by default is at UTC+8, you may see a +1/-1 difference if the two date string have different time zones.

Hint: since openmldb date type limits range from year 1900, to datadiff from/to a date before 1900, pass it as string.

Example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,12 @@ Supported date string style:

* yyyy-mm-dd
* yyyymmdd
* yyyy-mm-dd hh:mm:ss
* yyyy-mm-dd HH:MM:SS
* yyyy-mm-ddTHH:MM:SS.fff+HH:MM (RFC3399 format)

Dates from string are transformed into the same time zone (which is currently always UTC+8) before differentiation, dates from date type by default is at UTC+8, you may see a +1/-1 difference if the two date string have different time zones.

Hint: since openmldb date type limits range from year 1900, to datadiff from/to a date before 1900, pass it as string.

Example:

Expand Down

0 comments on commit 72a49d8

Please sign in to comment.