i veritabanında aşağıdaki biçimde tarih ve saati depolamak istiyorum
a) DD-MM-YYYY or i could add up HH-MM b) as my servers are located in US i would like to fetch the time as per IST. now that will be GMT : +5:30
earlier i used to store the date in mysql in this format timestamp(int(11)):1291746600. i used to convert the date with strtotime(); currently my intention of storing the date is just to store and display. in the future i would like to calculate the no. of days, months etc.
hangi Bunun için mümkün olan en iyi çözüm olurdu?
P: S: Birisi PHP ile kullanmak için nasıl kullanılacağı ve hangi veri türü açıklamak bana eğer ben takdir ediyorum.