Getting Current System TimeStamp

Permalink
Hey all, relatively simple question.

But I'm looking to set a user attribute "Most recently used. ent contact" which requires the current timestamp of the system or when the mailer is used... I can't seem to figure out what code to call in my Job to get the current system time.

Any help?

sethmartin
 
jero replied on at Permalink Reply
jero
time() will return the current unix timestamp.
date('format') will do a similar thing but will format the output any way you want. check outhttp://php.net/manual/en/function.date.php...