Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. simeet7

    Help with Dates

    The below works in SQL Server but need it in DB2. Looking for two dates - last Sunday of previous month and last Saturday of current month. SELECT DATEADD(day, DATEDIFF(day,'1900-01-07', DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE() - 30),30))/7*7,'1900-01-07') AS LAST_SUNDAY_PREVIOUS_MONTH...

Part and Inventory Search

Back
Top