View Single Post

   
  #1 (permalink)  
Old 04-09-2008, 06:13 PM
Emi Lu
 
Posts: n/a
Default Date for a week day of a month

Hello,

Can I know how to get the date of each month's last Thursday please?

For example, something like

Query: select getDateBaseOnWeekday('2007-04-01', 'Last Thursday');
Result: 2007-04-26

Thank you!

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote