Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-01-30 08:14:59
- capa
- Member
- From: Montana, USA
- Registered: 2005-09-10
- Posts: 20
dispaly current date
I’d like to display the current date on a page.
I notice that the upm_datetime plug-in is no longer available.
How may I do this?
Thanks
“I like the look of my own text.”
Offline
#2 2006-01-30 09:17:43
- Anark
- Member
- Registered: 2004-08-14
- Posts: 101
Re: dispaly current date
Offline
Re: dispaly current date
Try some php like <code><txp:php>echo date(“F jS Y”, time() + tz_offset());</txp:php> at <txp:php>echo date(‘H:i’, time() + tz_offset());</txp:php></code>. The first block does the date, and the second does the time.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#4 2006-01-31 04:13:29
- capa
- Member
- From: Montana, USA
- Registered: 2005-09-10
- Posts: 20
Re: dispaly current date
Fabulous! Thank yee.
“I like the look of my own text.”
Offline
Pages: 1