Date How to guide

From Swivel Knowledgebase
Jump to: navigation, search


Overview

It is important that each Swivel instance has the correct date set, and it is recommended to use NTP to automatically set this. This document covers viewing and changing dates on Swivel appliances.

Note: Do not change the Timezone on a Swivel appliance except during the initial installation. Remember to restart the database i.e. for internal restart Swivel or MySQL for appliances when the timezone is set.

The default timezone for a Swivel hardware or virtual Appliance is GMT.

The default timezone for a Software installation is dependent on the default timezone of the OS.


Prerequisites

Swivel 3.x

Swivel appliance 2.x


Date and Time functions

Viewing the appliance date

The date and time can be viewed using the Webmin utility, see Webmin How To Guide

The date can also be viewed through the command line using the date command

See Console Access How to guide


Appliance Network Time Protocol to automatically set the system time and date

See NTP servers


Changing Appliance time and date

If NTP is not used, then the date can be set through the webmin, see Webmin How To Guide under Hardware\System Time, or the command line using the date command.


Appliance Log Files

Date and time is taken from the local system time


Swivel Log files

The timestamp in the log file is converted to a date and time using a JavaScript function on the client. This means that it always refers to local time for the client machine, not on the appliance itself. Swivel log files use the Swivel Date Format.


Date Format

The Swivel logging and reporting date format is set on the Swivel Administration console under Server/Language.


Known Issues

Do not change the Timezone on a Swivel appliance except during the initial installation. Restart the database i.e. for internal restart Swivel or MySQL for appliances.


Troubleshooting