1
shashi_bi
date format in database
  • 2006/5/29 9:13

  • shashi_bi

  • Just popping in

  • Posts: 28

  • Since: 2006/4/24


Hi

in xhelp module, it is storing the date in database as integer like "1148893257" for the day 29th May 2006, how it is converting to integer.

my requirement is to get some records depends on current date, how can i convert the current date to integer format like above mentioned format.

Thanks & Regards

Shashi

2
mcleines
Re: date format in database
  • 2006/5/29 9:37

  • mcleines

  • Not too shy to talk

  • Posts: 108

  • Since: 2004/10/7


This is unix time stamp.
You get it with the php-function time()

Login

Who's Online

160 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 160


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits