Search

GlobalSCAPE Knowledge Base

Can I change the format of dates and times in the Plain-Text Client?

Karla Marsh
EFT Express (SMB) & Enterprise

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server "Plain-Text Client" version 6.4 - 8.0.4

QUESTION

Can I change the format of dates and times in the Plain-Text Client?

ANSWER

Yes. You can edit the code in an HTML file, EFTWebClientPlainText.htm, located in:

32bit: C:\Program Files\GlobalSCAPE\EFT Server\web\public\EFTClient\ptc

64bit: C:\Program Files (x86)\GlobalSCAPE\EFT Server\web\contrib\EFTClient\ptc

In this section:

// default values for both of these are false.

var bUseEuropeanDateFormat = false; // set to true to display date in dd/mm/yy format, else date will be shown in mm/dd/yyyy format

var bUseLocalTimeZone = false; // set to true to display times in local time (to client), else times will be displayed in GMT

Change bUseEuropeanDateFormat to true to display the date in dd/mm/yy format.

Change bUseLocalTimeZone to true to display times in the client's local time.

"Best Practices" is to create a copy of the EFTClient folder structure, paste it into custom, then edit the file in custom, leaving the original unchanged.

Details
Last Modified: 10 Months Ago
Last Modified By: kmarsh
Type: HOWTO
Article not rated yet.
Article has been viewed 6.3K times.
Options
Also In This Category