Modify ↓
#9733 closed defect (worksforme)
DateTime in SQL reports
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | report system | Version: | 0.12-stable |
| Severity: | normal | Keywords: | date, time, strftime |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Hello,
in 0.11.x we can use strftime in sql-reports, like:
strftime('%s',date('now','start of day','-42 day')) > t.time
This don't work in 0.12.1?
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
They are actually microsecond timestamps, so you will have to divide by 1'000'000.
Note:
See TracTickets
for help on using tickets.



Sorry, I see that you now use milliseconds instead of seconds for the timestamp.