If you like to get the current time_t, this can be done by calling srand() and then call t = srand().
$ awk 'BEGIN{srand(); print srand()}'
1440536144
This works as posix requires the random function to be initialized with the current time if called without arg and to return the previous seed.