Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:11:30+00:00 2026-06-11T00:11:30+00:00

What I want is: 1. When a transaction is performed, the current time is

  • 0

What I want is:
1. When a transaction is performed, the current time is recorded
2. Timezone info is also stored so that the time will be converted automatically based on client-side timezone

So TIMESTAMP sounds like a perfect choice for me, but it turns out that the range is too small (1970-2038) for applications that need to stand long. So I wonder how I can get around this limitation. I know that DATETIME has a much wider range, but it doesn’t seem to fulfill requirement no. 2, may I have your ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:11:32+00:00Added an answer on June 11, 2026 at 12:11 am

    You probably need to store the timezone offset in a separate field and store using a DATETIME that’s represented in UTC as you should for all dates and times unless you have a very good reason.

    The full time-zone name would need to be expressed because the time-zone offset alone is not as meaningful. For example, -0400 could refer to Eastern Daylight Time or Central Standard Time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have a Mercurial hook that will run before committing a transaction
I have a transaction log file in CSV format that I want use to
I want to create a transaction, writing some data in a sub-transaction, reading the
I want to rollback a transaction which already committed, does JTA support this kind
I want to create a simple transaction on my Web Site where after the
When I want to add the line SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED right
I work at company X and we want to engage in a B2B transaction
I have a table transaction which has duplicates. i want to keep the record
I am adding a series of records (eg 100) per single transaction. I want
I'd like to implement transaction-per-request in conjunction with Jersey resources. By that, I just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.