Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to retrieve Server Current UTC/GMT Timestamp [CORE909] #1308

Closed
firebird-automations opened this issue Aug 29, 2006 · 8 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Adam Gardner (s3057043)

Votes: 21

Working with Timestamp operations across various countries and states, I am constantly dealing with problems relating to LocalTime vs UTC Time. The include different Timezones and Daylight Savings Time rules.

Firebird currently supports the build in functions

NOW
CURRENT_TIMESTAMP

These functions return the local time as per the server. It would be quite useful to also include:

NOWUTC
CURRENT_TIMESTAMPUTC

which would behave exactly as per their local time counterparts. This would allow Firebird databases to better handle daylight savings time and multiple timezones without requiring UDFs.

@firebird-automations
Copy link
Collaborator Author

Commented by: ohenri (ohenri)

Yes this would be very useful especially when using distributed databases on several time zones.

Actually, a UDF needs to be used.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 11173 ] => Firebird [ 15320 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Thomas Braun (cew3)

Firebird is an excellent alternative to MS SQL Server. We want our customers with offices around the world to work on several Firebird servers.
Therefore it's necessary to have a UTC timestamp function used in triggers on the db server. Microsoft has such a function, Oracle needs to use 2 function to achieve that functionality.
But I've seen no possibility to get an UTC timestamp on Firebird.

If you want to replace MS servers in a global business, you have to offer functions needed in global scenarios.

So please, set the priority to major and find a guy who is willing to implement this "small" function.

Thank you!

cew3

@firebird-automations
Copy link
Collaborator Author

Commented by: Stefan Heymann (stefanheymann)

This issue seems to be the same as CORE694, which has "Major" priority.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 4.0 Beta 1 [ 10750 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Resolved as a part of CORE694.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants