Using for example the following code:
const buildDateTime = new Date(xy);
I would need to replace xy
by the actual time my code was last built. The result would be to print:
The software was built at {buildDateTime}.
It is supported in C++, so I hope there is a way to achieve this in TypeScript as well.