[Solved] Insert timestamp date in a string
Posted: Mon Aug 11, 2025 5:45 pm
The timestamp for 03:06 PM on June 15, 2025, is 1750000000. If I format a cell to display this date as MM/DD/YY HH:MM AM/PM, and enter the following into the cell:
This produces the following desired cell contents:
Now imagine that I want to insert this date in a string. The command to do this is...
BUT the resulting cell contents is not what you would expect. It is...
Is this a bug in Calc?
Code: Select all
=DATE(1970,1,1)+1750000000/60/60/24Code: Select all
06/15/25 03:06 PMCode: Select all
=TEXT(DATE(1970,1,1)+1750000000/60/60/24, "mm/dd/yy hh:ss am/pm")Code: Select all
06/15/25 03:40 PM