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

Expand / Collapse
 

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


THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Server "Plain-Text Client" version 6.4 and later

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.



Rate this Article:

Add Your Comments


Comment require login or registration.

Details
Last Modified:Wednesday, July 11, 2012

Last Modified By: GlobalSCAPE 5

Type: HOWTO

Rated 1 star based on 1 vote

Article has been viewed 1,747 times.

Options