5 Mar
2006
5 Mar
'06
11:06 p.m.
On 05 Mar 2006, at 11:11 PM, Khalid B wrote:
However, as he said: MySQL and PostrgreSQL do it with different syntax, so there is no straight forward solution to this.
well. just because we haven't found one yet doesn't mean there is one. I think ber's idea of a %t in the db queries is a good start, and then there's also the possibility of a %i for intervals. Unfortunately , the intervals are not nearly as powerful as the formats supported by the strtotime function : http://php.net/strtotime http://www.gnu.org/software/tar/manual/html_node/tar_109.html -- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com