Search

GlobalSCAPE Knowledge Base

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

Karla Marsh
EFT

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:

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: 4 days ago @ 9:19 PM
Last Modified By: kmarsh
Type: HOWTO
Rated 1 star based on 8 votes.
Article has been viewed 7.9K times.
Options
Also In This Category