Crystal Reports Tools: Improve Performance While Saving Time and Money

  Resources  
Best sellers:
cView
Report Analyzer
cViewSERVER
ReCrystallize

Crystal Reports: Free trial

Articles:
Administration
Advanced
Basic
Crystal eNL
Database

Financial
Problems Solved

Books:
CR Books

Database Books
Developer Books
Tools:
All CR Tools
CR Analyzers
CR Bestsellers
DataBase Tools
CR Graphics
International
CR Mail UFLs
ReCrystallizePro
CR Schedulers
CR UFLs
CR Viewers

Add'l:
About us

Contact Us
cViewSUITE Ppt
Support

Crystal Reports
on Steroids

Database Tips: Use UTC Time Fields for Your Time-based Data

If you are working with date time fields and care about business hours between 7am and 7pm (or slightly later) only, then regular date time fields with local time will be fine.

But if your clock runs 24 hours and/or 7 days a week, and you cover multiple time zones, or have daylight savings time, then you need to be careful. Real-world examples of such environments include air travel, factory processing, and energy billing.

You will need two date time fields in your database. One with the local time, and one with the time in UTC (Universal Time Coordinates).

UTC is what we used to call Greenwich Mean Time (GMT). There are two hours a year when you cannot do accurate time variance calculations using local time only. These are the hours when daylight savings moves forward and back--they will make these calculations wrong. You need an equivalent period without the daylight savings component. UTC is the solution to this.

 

 

This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd. It may be freely copied and distributed as long as the original copyright is displayed and no modifications are made to this material. Extracts are permitted. The names Crystal Reports and Seagate Info are trademarks owned by Business Objects.

These keywords may have brought you here: time-based data, utc, date time fields, greenwich mean time, gmt, universal time coordinates, database design, 24x7 date fields, database tutorials, database articles, 24 x 7 date fields, access, oracle, sql, mysql, database tips, database error prevention, database optimization, database design rules.