Hi all,

I want to find out the number of days in MySQL for the current month and I
found that I need to use something like:

- getting the current date.
- Finding the first date of the current month.
- Finding the first date of the next month.
- Substracting a day for finding the last day of the current month.
- Getting the day of month for the last day of the current month.

Isn't there a more simple method, or a function for finding this?

Thank you.

Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to