-
Docs seems to be outdated.
var DateDiff = require('date-diff'); // Does not work, getting `DateDiff is not a constructor`.
works only when imported:
`
import Datediff from 'date-diff'
`
…
-
I've reported this [DATEDIFF function issue](https://github.com/OHDSI/SqlRender/issues/233) to the SqlRender team.
In the meantime, we will be manually reviewing Oracle, Postgres and GBQ output to …
-
### To reproduce
1. Run a query:
```sql
SELECT
SUM(column_a) AS alias_a,
SUM(column_b) AS alias_b,
SUM(column_b)::float / SUM(column_a) AS alias_c,
SUM(column_b)::float / 30.2 AS alia…
-
Is there a way to show human readable date differences?
Most specifically, given the expiry date of a certificate, I can get raw output of number of days until expiry or after expiry, positive or n…
-
Say I supply a date to ddiff which fails to parse.
```
$ dateutils.ddiff "2024-10-dd" today
ddiff: Error: reference DATE must be specified
Usage: datediff [OPTION]... DATE/TIME [DATE/TIME]...
…
rdiez updated
1 month ago
-
Power Apps returns Blank(). But C# does not.
`IsBlank(DateDiff(Date(2023, 3, 12), Blank())) // true, in PA`
In C#, we coerce blank to 0 and return a number.
`DateDiff(Date(2023, 3, 12), 0) …
-
Hi everyone,
just noticed this oddity in `datediff`:
```shell
$ datediff 14:14 16:47
9180s
```
The correct answer is 153 seconds. Which is incidentally 9180 divided by 60. So it seems that…
-
I couldn't figure out from the documentation how to get floating point result from `datediff`. I'd like to get decimal duration in hours (`?` stands for modifier I'd like to use but am not aware of):
…
-
```
Request for a new function:
A function that returns a number of intervals between two dates.
Like the DateDiff function in VBscript:
http://www.w3schools.com/vbscript/func_datediff.asp
In Transac…
-
Hi @staticlibs ,
we are facing one issue in the time column which we are using in sql. During insert, we are getting the below error .
![image](https://github.com/user-attachments/assets/9a5fcebb-e3…