As far as I understand now() returns the same time during the whole PostgreSQL transaction? But how to get real time?
Also, I am interested
Timeofday()
May work for you.