Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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 anonymous, 14 years ago

Resolution: worksforme
Status: newclosed

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

comment:2 by Remy Blank, 14 years ago

They are actually microsecond timestamps, so you will have to divide by 1'000'000.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.