Title: Current Date &amp; Time Widget
Author: Chris Jean
Published: <strong>13 جُون 2008</strong>
Last modified: 2 جُولاءِ 2008

---

پلگ انس ڳولھيو

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

![](https://s.w.org/plugins/geopattern-icon/current-date-time-widget.svg)

# Current Date & Time Widget

 کان: [Chris Jean](https://profiles.wordpress.org/chrisjean/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/current-date-time-widget.1.0.3.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/current-date-time-widget/#description)
 * [جائزو](https://snd.wordpress.org/plugins/current-date-time-widget/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/current-date-time-widget/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/current-date-time-widget/#developers)

 [سھائتا](https://wordpress.org/support/plugin/current-date-time-widget/)

## وضاحت

This is a fairly simple plugin used to display the date and time in any widget-enabled
location.

There were two goals for this plugin:

 * Provide a means to have the date and time produced match a specific timezone.
 * Enable complete customization over how the date and time is formatted.

I think that I’ve done a fairly good job of meeting those goals. Admittedly, setting
either field is fairly user-unfriendly. The timezone specified must match [PHP’s List of Supported Timezones](http://us3.php.net/timezones).
The date and time format has the same requirements as the format parameter of [PHP’s date() function](http://us.php.net/date)(
for obvious reasons since the defined format is actually passed directly to the 
date function in the code 🙂 ).

If this plugin gets enough attention and use, I’ll find ways of easing the use. 
I think a series of drop-downs would make selecting the options easier, so that 
would be the option used if people are interested. If you happen to be one of those
interested people, please send me a message on our [contact page](http://realthemes.com/contact-us/).

### Version History

 * 1.0.1 – 2008-06-04 – Basic proof of concept
 * 1.0.2 – 2008-06-12 – Contained plugin code inside a class to prevent namespace
   collisions. Standardized code with coding style (http://comox.textdrive.com/pipermail/
   wp-hackers/2006-July/006930.html)
 * 1.0.3 – 2008-07-01 – Added support for PHP 4

## انسٽاليشن

 1. Download and unzip the latest release zip file
 2. Upload the entire current-date-time-widget directory to your `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Go to the ‘Widgets’ page and add the ‘Current Date & Time’ widget to the desired
    area
 5. Click ‘Edit’ next to the widget to customize the options

## FAQ

  What do I enter for my Timezone?

You can find all the supported timezones on [PHP’s List of Supported Timezones](http://us3.php.net/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](http://us.php.net/date).
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.

## جائزا

ھن پلگ ان لاءِ ڪي به رايا ناھن.

## تعاون ڪندڙ & ڊولپرز

“Current Date & Time Widget” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو
ورتو آھي.

تعاون ڪندڙ

 *   [ Chris Jean ](https://profiles.wordpress.org/chrisjean/)
 *   [ Chris Jean ](https://profiles.wordpress.org/chrisbliss18/)

[ترجمو ڪريو “Current Date & Time Widget” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/current-date-time-widget)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/current-date-time-widget/)،
چيڪ ڪريو [SVN مخزن](https://plugins.svn.wordpress.org/current-date-time-widget/)،
يا رڪنيت حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/current-date-time-widget/)
پاران [RSS](https://plugins.trac.wordpress.org/log/current-date-time-widget/?limit=100&mode=stop_on_copy&format=rss).

## ميٽا

 *  Version **1.0.3**
 *  Last updated **18 سالَ اڳ**
 *  Active installations **100+**
 *  WordPress version ** 2.3 يا وڌيڪ **
 *  Tested up to **2.5.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/current-date-time-widget/)
 * Tags
 * [date](https://snd.wordpress.org/plugins/tags/date/)[time](https://snd.wordpress.org/plugins/tags/time/)
   [timezone](https://snd.wordpress.org/plugins/tags/timezone/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/current-date-time-widget/advanced/)

## درجه بندي

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/current-date-time-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/current-date-time-widget/reviews/)

## تعاون ڪندڙ

 *   [ Chris Jean ](https://profiles.wordpress.org/chrisjean/)
 *   [ Chris Jean ](https://profiles.wordpress.org/chrisbliss18/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/current-date-time-widget/)

## عطيو

ڇا توھان ھن پلگ ان جي ترقي ۾ مدد ڪرڻ چاھيو ٿا؟

 [ هن پلگ ان ڏانھن مدد ڪريو ](http://blog.realthemes.com/donations/)