News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

$context variable name to grab posting date

Started by cyclopsian, February 19, 2007, 05:54:13 PM

Previous topic - Next topic

cyclopsian

Hello,

I use

<?php echo $context['user']['name']; ?>

to get the logged-in user's name into a table, but how do I grab the date (today) that the form is being processed by the user?

what field or variable names would I plug into the above example to get today's date?

How about field or variable names to grab the timestamp of the post?

Thanks for any help or info.

-- Thomas

Advertisement: