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 8987589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:49:59+00:00 2026-06-15T21:49:59+00:00

I am making a registration form with 8-10 fields. Apart from this I have

  • 0

I am making a registration form with 8-10 fields. Apart from this I have 2 other fields in my database, userid which is a primary key wioth auto incrementation and an active field, whether the user is active or not. But I want to add one more field, that is the registration date and store it in IST (Indian Standard Time)

When I click my profile link in stackoverflow, I see that I have registered X months back and I have visited the site X number of times. I want to add a similar feature to the profile of my users which displays the exact date and time when they were registered! Ex, member since: 28/7/2001! Something like that.

Do I have to do any tweak in my registration form? Or do I have to do any other thing? I searched on google and stackoverflow for the same, searched the php and mysql documentation too, saw a lot of things about dates and timestamps but I don’t know how to go about, didn’t get exactly what I wanted and wasn’t convinced enough. Please help me solve this problem.

Thank you!

  • 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-15T21:50:01+00:00Added an answer on June 15, 2026 at 9:50 pm

    You don’t need to tweak your form.

    Just add field “registration_date” to your “user” table.

    Set it to the current date when inserting a new user.

    This can be done at the database level.

    Something like this:

    INSERT INTO `user` ( `registration_date`, other fields...) 
    VALUES (NOW(), other values...);
    

    Your form doesn’t need to pass “registration_date” to the database.

    Be aware that NOW() function returns the database server datetime.

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

Sidebar

Related Questions

I'm making a registration form which will have the user put in his birthday.
I have made a registration program. Making use of mysql database. Can I still
I am new to iPad developer, I am making Registration form in my iPad,
I am making a registration system with an e-mail verifier. Your typical use this
I have an AlertWindow that has input fields for registration purposes (looks similar to
I have 2 forms, one is the initial registration (member) and the other is
I'm making a registration form for my users and I'd like them to write
I'm making a registration form and I want to check if the user has
I am making a registration form in PHP and when submitting the form Date(Check
I have a database which manages login information for an application, and find myself

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.