What Date

What date is it today?

Embed iframe of today's date

You may embed today's date from WhatDate.net in an iframe within your site.
1. Find the source URL in each corresponding page below the date, for example:
http://www.whatdate.net/p/gregorian-iframe.html
for Gregorian calendar,
http://www.whatdate.net/p/hijri-top.html
for top format of Hijri calendar,
http://www.whatdate.net/p/hijri-bottom.html
for bottom format of Hijri calendar, etc.

2. Embed it inside iframe within your page, for example:
<iframe src="http://www.whatdate.net/p/gregorian-iframe.html" 
        frameBorder="0" 
        seamless="seamless" 
        scrolling="no" 
        style="height:20px; width:200px"></iframe>

The result is:

3. Specifically for Gregorian calendar, you may specify local language to display, using:
http://www.whatdate.net/p/gregorian-local.html
and the language code query (Google "language codes ISO 639-1"), with format:
lang=[af|am|ar|ar-DZ|ar-EG|az|bg|bs|ca|cs|da|de|de-CH|el|en-AU|en-GB|en-NZ|eo|es|es-AR|es-PE|et|eu|
        fa|fi|fo|fr|fr-CH|gl|gu|he|hi-IN|hr|hu|hy|id|is|it|ja|ka|km|ko|lt|lv|me|me-ME|mk|ml|ms|mt|
        nl|nl-BE|no|pl|pt-BR|rm|ro|ru|sk|sl|sq|sr|sr-SR|sv|ta|th|tr|tt|uk|ur|vi|zh-CN|zh-HK|zh-TW]
For example:
<iframe src="http://www.whatdate.net/p/gregorian-local.html?lang=ja" 
        frameBorder="0" 
        seamless="seamless" 
        scrolling="no" 
        style="height:20px; width:200px"></iframe>

The result is:

4. Customize the font and color of the date, also iframe's height and width accordingly, for example:
<iframe src="http://www.whatdate.net/p/hijri-top.html?
                font=1.5em+comic+sans+ms&color=blue" 
        frameBorder="0" 
        seamless="seamless" 
        scrolling="no" 
        style="height:37px; width:400px"></iframe>

The result is:

5. Use standard CSS format to customize the font and color (Google "css font" and "css color names"). Encode the 'space' with '+', '%' with '%25', '#' with '%23' etc (Google "percent encoding query string url").
The format for font is:
font=[font-style]+[font-variant]+[font-weight]+[font-size/line-height]+[font-family]
For example:
font=italic+small-caps+bold+200%25+comic+sans+ms
The format for color is:
color=[color-name] (red, green, blue etc..)
or
color=%23[RGB-HEX] (%23FF0000, %2300FF00, %230000FF etc..)

So, for example the iframe code become:
<iframe src="http://www.whatdate.net/p/hijri-bottom.html?
                font=italic+small-caps+bold+200%25+comic+sans+ms&color=%23FF0000" 
        frameBorder="0" 
        seamless="seamless" 
        scrolling="no" 
        style="height:50px; width:425px"></iframe>

The result is:

6. You may also format the date using Keith Wood's jQuery Calendars format, except for Japanese, Chinese, Maya, and Unix whose format cannot be customized. Encode 'space' with '+', '@' with '%40', '!' with '%21', 'aposthrope' with '%27', 'comma' with '%2C' etc. (Google "percent encoding query string url")
The format for format is:
format=[+][d][dd][D][DD][o][oo][w][ww][m][mm][M][MM][yy][yyyy][YYYY][J][%40][%21][%27...%27][%27%27]
For example:
format=d%2Fm%2Fyyyy+%27CE%27+%28DD%29

So, for example the iframe code become:
<iframe src="http://www.whatdate.net/p/gregorian-iframe.html?
                font=italic+small-caps+bold+30px+times+new+roman&color=%2300FF00&
                format=d%2Fm%2Fyyyy+%27CE%27+%28DD%29" 
        frameBorder="0" 
        seamless="seamless" 
        scrolling="no" 
        style="height:35px; width:350px"></iframe>

The result is:

7. Give a little attribution to us somewhere in your site.. ☺ .. for example:
Today's date by <a href="http://www.whatdate.net/">WhatDate.net</a>