Re: Date arithmetic: 2005-08-31 - 1

2005-08-24 Thread Peter Brawley
o:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. August 2005 21:37 An: mysql@lists.mysql.com Betreff: Date arithmetic: 2005-08-31 - 1 All, I know MySQL comes with all sorts of wonderful functions to do date arithmetic, the problem is the context that my application is being called in I don't know

Re: Date arithmetic: 2005-08-31 - 1

2005-08-23 Thread Michael Stassen
[EMAIL PROTECTED] wrote: You are right. There are a lot of date functions in MySQL. However, I am not sure exactly what your needs are... I think you are trying to compute date intervals (did you NOT see the INTERVAL keyword when you RTFM?). Most of the date functions currently supported a

Re: Date arithmetic: 2005-08-31 - 1

2005-08-23 Thread Michael Stassen
Barbara Deaton wrote: > All, > > I know MySQL comes with all sorts of wonderful functions to do date > arithmetic, the problem is the context that my application is being > called in I don't know if a user wants me to add or subtract days. I'm > just given the number of days that need to be eithe

RE: Date arithmetic: 2005-08-31 - 1

2005-08-23 Thread Barbara Deaton
Tuesday, August 23, 2005 3:45 PM To: Barbara Deaton; mysql@lists.mysql.com Subject: AW: Date arithmetic: 2005-08-31 - 1 Barbara, Can't you use the ADDDATE function ? http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html Freddie > -Ursprüngliche Nachricht- > Von: Barba

Re: Date arithmetic: 2005-08-31 - 1

2005-08-23 Thread SGreen
"Barbara Deaton" <[EMAIL PROTECTED]> wrote on 08/23/2005 03:36:52 PM: > All, > > I know MySQL comes with all sorts of wonderful functions to do date > arithmetic, the problem is the context that my application is being > called in I don't know if a user wants me to add or subtract days. > I'm

RE: Date arithmetic: 2005-08-31 - 1

2005-08-23 Thread Gordon Bruce
+ 1 row in set (0.00 sec) mysql> select now() -> ; +-+ | now() | +-+ | 2005-08-23 15:38:31 | +-+ 1 row in set (0.00 sec) -Original Message- From: Barbara Deaton [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23

AW: Date arithmetic: 2005-08-31 - 1

2005-08-23 Thread Freddie Sorensen
m > Betreff: Date arithmetic: 2005-08-31 - 1 > > All, > > I know MySQL comes with all sorts of wonderful functions to > do date arithmetic, the problem is the context that my > application is being called in I don't know if a user wants > me to add or subtract days.

Date arithmetic: 2005-08-31 - 1

2005-08-23 Thread Barbara Deaton
All, I know MySQL comes with all sorts of wonderful functions to do date arithmetic, the problem is the context that my application is being called in I don't know if a user wants me to add or subtract days. I'm just given the number of days that need to be either added or subtracted from the