I have a google sheet which has date in DD-MM-YYYY HH:MM format. But when I download it and try to uplaod. I am getting a weird value (this value:44787.70138888889). Few things that I noticed are that after downloading the file when I open it in my pc its format changes to DD-MM-YY HH:MM. I am using Ubuntu 20.04.3 LTS and my code is in nodejs. I am using multer to upload the file and moment to convert the dateTime in desired formats. This issue arrives before any type of formatting is applied on the dateTime fields.
I logged the values that were read before any formatting and I got this :
{
'Route Code': 'testValRoute',
'Consignor Code': 'testConsignor',
'Start Date(format - DD-MM-YYYY HH:MM )': 44787.70138888889, ----> This should be "14-08-2022 20:00"
'Vendor Code': 'testName',
'Vehicle Number': 'testVehicle',
'Vehicle Type': 'testType',
'Driver Name': 'testDriver',
'Mobile Number': testPhoneNumber
}