Raised This Month: $32 Target: $400
 8% 

How to get date from database ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BFBombi
Junior Member
Join Date: Jul 2011
Old 07-20-2011 , 05:21   How to get date from database ?
Reply With Quote #1

Hey, i have a question... I need to get date from database from field date (yyyy-mm-dd or yyyy-dd-mm) then take away todays date, and get number what i need to show on server when user type one command.

Example: In database 2011-15-08, server get it and take away 2011-20-07 and when user type command he get something like this "You have 25 more days".
BFBombi is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode