Plugin Directory

Current Date & Time Widget

Provides a widget that shows the current date and time given a specified timezone and format.

Download Version 1.0.3

What do I enter for my Timezone?

You can find all the supported timezones on PHP's List of Supported Timezones. Click on the link representing the region your located in and then find the matching timezone. The timezone you specify must exactly match one of the listed timezones.

What does Format mean?

Format allows you to define your own customized date and time output format.

The format used for the date and time is the same format used by PHP's date() function. This format allows you to create date and time output that is extremely flexible and should meet most everyone's needs.

Examples:

  • 'l jS \of F Y h:i:s A' produces output with a format of 'Monday 8th of August 2005 03:12:46 PM'.
  • 'l' simply outputs the full name of the day, such as 'Monday'.
  • You can even include text in the output. Each letter must be escaped by a \ first. 'l \t\h\e jS' produces output with a format of 'Monday the 8th'.
  • 'F j, Y, g:i a' produces 'August 8, 2005, 3:12 pm'.
  • You can even just show the date: 'M j' produces 'Aug 8'.
  • Or you can just show the time: 'H:i:s' produces '15:12:46'.

As you can see, the format may be a bit confusing at first, but it is very capable of allowing you to specify just how you'd like to display the date and time.

Requires: 2.3 or higher
Compatible up to: 2.5.1
Last Updated: 2008-7-2 Downloads: 13,674

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(9 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
67,3,2
100,2,2
100,1,1
100,1,1