Dateformat d m y dating updating datbase

01 Feb

Another way might be to create your own timestamp: This way however takes a little more coding on the line.

As far as performance goes, I'm not sure which may be quicker.

either when the date is entered into the DB or when it's read.

My preferred method is to save as UNIX epoch time to the database.

I just like things to work and work well, don't much care for how fast they are as long as they get the job done :) A much simpler way to get the e Bay, or Amazon, web service timestamp is as follows: The ISO8601 output format doesn't jive with (at least) what e Bay expects in its SOAP transactions. That is, e Bay (and I'm guessing other web services) will accept "2007-05-04TZ" but not "2007-05-04T 0000".

There must be a national preference for complex structures, and those apply to lengths (inch/feet/miles); temperature (a baseline of 32) – and calendars (middle/little/big). Note: The valid range of a timestamp is typically from Fri, GMT to Tue, GMT. In otherwords, timestamp is optional and defaults to the value of time(). )Enjoy.date(PHP 3, PHP 4 )date -- Format a local time/date Descriptionstring date ( string format [, int timestamp])Returns a string formatted according to the given format string using the given integer timestamp or the current local time if no timestamp is given.(These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). Note: To generate a timestamp from a string representation of the date, you may be able to use strtotime().