|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
can i save date in "mm-dd" format in the database field?, Is it possible to take differnece between current date("mm-dd") and that datafield date?.. Please give an answer !!! very urgent!! |
|
#2
|
|||
|
|||
|
You might want to store the date field as DATE or TIMESTAMP type and use MySQL's to_days and date_format functions for date arithmetic and formatting, respectively. Check MySQL's online manual for more info...
|
|
#3
|
||||
|
||||
|
Thank You Kyuzo!!!
I got some notes about dateformatting. After testing the script i'll tell you the result. Thanks for helping me... |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Date format----"mm-dd"--Urgent!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|