Results 1 to 4 of 4
Dec 16, 2000, 13:59 #1
I recently found out that there are two ways to store dates in a database:
1) You can convert the date now and store it in a date field and then pull that out when you need it
2) You can store the integer produced by the time() function in an integer field and then pull it out when you need it and then format it using the date() function
Are both methods the same? is one better in some way? is one of the methods faster than the other?