Change date and time format in call detail records. (kb2214)

The information in this article applies to:

  • SwyxWare v4.00

[ Summary | Information ]


Date format within Call detail records is "dd.MM.yyyy hh:mm:ss" per default which produces something like "13.03.2002 11:12:42", but can be configured via registry.


The CDR date format can be changed by adding the following registry values:
Location: HKEY_LOCAL_MACHINE\Software\Swyx\ IpPbxSrv\CurrentVersion\Options
Name: CDRDateFormat (for the date format)
CDRTimeFormat (for the time format)
Type: REG_SZ
Value: Format string for date or time information in call detail records. Can be of one the following
  • "User"
    SwyxServer uses the service account user's default format as defined in the operating system. The short date format and user time format is used.
  • "System"
    SwyxServer uses the system's default format as defined in the operating system. The short date format and system time format is used.
  • A format string which is a compbination of the following:
    h hour without leading zero
    hh hour with leading zero
    m minute without leading zero
    mm minute with leading zero
    s second without leading zero
    ss second with leading zero
    a the am/pm string
    w/ww/www abbreviated day of week name
    wwww full day of week name
    d day of month without leading zero
    dd day of month with leading zero
    M month of year without leading zero
    MM month of year with leading zero
    MMM month of year as abbreviated text
    MMMM month of year as full text
    y/yy year without century
    yyy/yyyy year with century
    z the time zone description
    Example: dd.MM.yyyy which gives 14.06.1960

If this value is not set, an internal default is used which is defined as string resource. Swyx' default is "dd.MM.yyyy" bzw. hh:mm:ss". This may vary for different localizations or OEM version.


Comment on this article

If we have any follow-up questions, where can we contact you?

E-Mail Address (optional)


This feedback form can't be used for support requests. Those requests must be directed to your Swyx reseller or distributor.