April 25, 2022 - Reading time: ~1 minute
A timestamp is a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second.
The term derives from rubber stamps used in offices to stamp the current date, and sometimes time, in ink on paper documents, to record when the document was received. Common examples of this type of timestamp are a postmark on a letter or the "in" and "out" times on a time card.
This data is usually presented in a consistent format, allowing for easy comparison of two different records and tracking progress over time; the practice of recording timestamps in a consistent manner along with the actual data is called timestamping. The sequential numbering of events is sometimes called timestamping.
Timestamps are typically used for logging events or in a sequence of events (SOE), in which case each event in the log or SOE is marked with a timestamp
There is a lot of source to get valid timestamp. I mean, you can use websites which are them provides you timestamps or you can get it like me. I'm getting timestamps from shell with that simple code. I aliased it on my .bashrc.
alias timestamp="date +%s"
If you prefer you can use Python against to Bash for this process.
alias timestamp="python -c 'import time; print(time.time().__int__())'"