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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Daywise Hourly report

Status
Not open for further replies.

asrinath

Programmer
Apr 25, 2003
8
US
Hello All,

I need to created a report by each hour of the day for each day of the week (starting Monday). The hours will be the Page header and I need to calculate something by each day of the week.

Is it possible to get the hour, day of the week from data somehow? If anybody has done anything like this please let me know.

Thanks
 
You can get day of week and hour as calculated columns right in the report SQL. The syntax depends on the DB though. For example, for Oracle
TO_CHAR(date_field,'DAY')
TO_CHAR(date_field,'HH24')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top