Change the time format (12- or 24-hour) for Guard1 Plus reports

Published: 2004-12-16

 

Last Updated: 2016-04-27

 

Applies To

 

For Guard1 Plus and Guard1 Plus SE version 5 refer to this topic.

 

 

Overview

You want to change the time format shown on Guard1 Plus reports. This is commonly done to enable the display of seconds on reports (the default is hours and minutes only).

 

NOTE: This topic applies to Guard1 Plus and Guard1 Plus SE Word-based reports only. The time format cannot be changed on Guard1 Plus SE Reporting Services reports.

 

 

Resolution

Guard1 Plus uses the Windows Regional Settings time format to determine the default time format used on reports. The default report time formats are:

 

PC Time Format

Default Report Time Format
2.60 and prior; 3.x 2.7x and newer 4.40
12-hour hh:mm HH:mm HH:mm
24-hour HH:mm HH:mm HH:mm

 

NOTE: Guard1 Plus 2.7x and newer and Guard1 Plus SE 4.40 can not display base 12-hour time (hh:mm) on reports.

 

If you wish to display a non-default report time format on reports, you must edit the Windows Registry as described below. The available non-default report time formats are:

 

PC Time Format

Desired Report Time Format  ReportHeaderTimeFormat key value
2.60 and prior; 3.x 2.7x and newer 4.40
12-hour hh:mm:ss 1 1 1
HH:mm:ss 3 3 3
HH:mm 5

No change needed - default format

 
24-hour HH:mm:ss 1

1

1
hh:mm Only available by changing PC Time Format to 12-hour.  No change to Registry needed.

Format not available

hh:mm:ss Only available by changing PC Time Format to 12-hour, then adding ReportHeaderTimeFormat key with value=1.

 

 

 

To edit the Windows Registry to enable a non-default report time format:

 

Important: This article contains information about modifying the Windows Registry. Before you modify the Registry, make sure to back it up and make sure that you understand how to restore the Registry if a problem occurs. For information about how to back up, restore, and edit the Registry, click the following article number to view the article in the Microsoft Knowledge Base:

 

KB256986 (http://support.microsoft.com/kb/256986/) Description of the Microsoft Windows Registry

 

You must be an Administrator to edit the Windows Registry. If you do not have Administrator privileges, or are not familiar with the terms and methods described in the procedure below, please contact your IT Department for assistance.

 

  1. Close Guard1 Plus or the Guard1 Plus SE Client.
  2. Click Start > Run.
  3. At the prompt, type regedit then click OK. This will open Registry Editor.
  4. Navigate to:
    1. For Guard1 Plus:
      • 32-bit operating system: HKEY_LOCAL_MACHINE\Software\TimeKeeping Systems Inc.\Guard1 Plus\Settings
      • 64-bit operating system: HKEY_LOCAL_MACHINE\Software\Wow6432Node\TimeKeeping Systems Inc.\Guard1 Plus\Settings
    1. For Guard1 Plus SE:
      • 32-bit operating system: HKEY_LOCAL_MACHINE\Software\TimeKeeping Systems Inc.\Guard1 Plus SE\Client\Settings
      • 64-bit operating system: HKEY_LOCAL_MACHINE\Software\Wow6432Node\TimeKeeping Systems Inc.\Guard1 Plus SE\Client Settings
  5. In the Settings folder, right-click and select New > String Value.
  6. Type ReportHeaderTimeFormat as the new string value's name and press Enter.
  7. Double-click the ReportHeaderTimeFormat entry.
  8. Enter the value for the desired report time format from the table above in the Value Data field.
  9. Click OK.
  10. Close Registry Editor.

 

All Guard1 Plus reports should now display the desired time format.

 

NOTE: if you change your PC's Regional Settings time format after making this change, you may have to update the ReportHeaderTimeFormat key value to maintain the desired Guard1 Plus report time format. Deleting the ReportHeaderTimeFormat key will return the report time format to the default format.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2013-2016 TimeKeeping Systems, Inc.