Simple Machines Community Forum

General Community => Scripting Help => Topic started by: cyclopsian on February 19, 2007, 05:54:13 PM

Title: $context variable name to grab posting date
Post by: cyclopsian on February 19, 2007, 05:54:13 PM
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