Home > Back-end >  Java formatting date no problem, the local server failure returns the timestamp format.
Java formatting date no problem, the local server failure returns the timestamp format.

Time:09-27

There is no question of when a local service, download file naming format successfully fileName + date



Not on the server to download the Excel file,



Gets the current time code




Too food,,, should not be much of a problem ~ ~ ~ help each bosses,

CodePudding user response:

Code is not consistent, have nothing to do with the server and the local,

CodePudding user response:

This code, the local can't be saved successfully, or a wrong code, or change the compilation,

CodePudding user response:

Server is a Linux or Windows? May be caused by the operating system, on the other hand, can't change the date of writing

CodePudding user response:

Repack,,,

CodePudding user response:

reference 1st floor karlpan01 response:
code is not consistent, has nothing to do with the server and the local,


I check git commit code should be consistent, I change can reflect the other place,

CodePudding user response:

The
reference 3 floor zyf2020 response:
server is a Linux or Windows? May be caused by the operating system, on the other hand, can't change the date written

Docker container under the ali server,

CodePudding user response:

No bosses to reassure you,,,,,,,,

CodePudding user response:

You are going to use this function, not only your time to date

CodePudding user response:

refer to the eighth floor tianfang response:
use this function, you don't have your time to only

This is I cut the wrong figure,,, is only to the day before, but whether day or a split second, when the server to download is a timestamp,
  • Related