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

Format Hour Function

Status
Not open for further replies.

SchuhTL

Technical User
Joined
Dec 19, 2001
Messages
36
Location
US
I am using the the hour function as follows:
hour({tablename.open_date}). I am using this in a chart to display calls that were opened by hour & every hour is diplaying 8.00, 9.00 etc...and I can't get rid of the trailing zero's. If I convert the formula to text and trim the zero's it does not display in ascending order. Please help!
 
You could use the Format string directly
ToText({tablename.open_date},"hh")

Look at the other date and time format strings for ToText in the help file. Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top