Although you could use the PHP's time() function to solve this issue, the Q2A way to get the current time is fetching it as a Unix timestamp by means of:
Then you can format it as you normally would with the date() function.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.