Paste YYYYMMDDHHMMSS timestamp anywhere (hotkey shortcut) YYYYMMDDHHMMSS or YmdHis in PHP is the timestamp format used by Wayback Machine URL and the %A_Now variable in AutoHotKey.

It looks like this: 20171223145921.

How can I paste the timestamp of the current time anywhere?

Is there anything like AutoHotKey that can do the job?
I'm not sure if there is anything like AutoHotKey in Android but it is possible to get the timestamp in that format for the current time on demand. 

You'd need Tasker or any other app which can run a command. 

Setup a task with these actions:


Code &rarr; Run Shell:


Command: date "+%Y%m%d%H%M%S"
Store Output In: %date

System &rarr; Set Clipboard &rarr; Text: %date
Now, exit the Tasker, go back to Home Screen, long press your home screen to add a widget and choose Task Shortcut &rarr; pick your newly created Task &rarr; assign an icon at the bottom. That's it.


Whenever you would press that icon on your home screen, the current date-time would be copied in your clipboard automatically in the supplied format. You just have to copy paste it wherever you want it. There can be other methods to run a Tasker task less disruptively, such as through quick settings, as mentioned here by Grayox96 on Reddit.