TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
shabeer shaik
NA
40
19.7k
How to add 30 days to existing date
Jan 30 2013 1:02 AM
If a member signs into my site then on sql it inserts the members name , password , date as now().
I created another item on my table called datetr. I want it must calculate +30days from the actual date they sign in (now()) and update the datetr.
Basically I am giving them a 30 day trial and then they need to be blocked if they have not paid.
Maybe you have a better idea to do this.
Reply
Answers (
3
)
mysql
How to convert local time to UTC time in SQL