With today's date element you can display the current day of the week, date and time in real time in your preferred language


   


Display the date and time on your screen using an html element.


The base URL for the current date:

https://idid.fi/extra/date/today/


In addition to the date you can also display the time.


Date and time

With this URL you can display the day of the week, date and time on the same line.


https://idid.fi/extra/date/full/

How to add the date in the content:


1. Add an html element in your content. Modify the size and location of the element.

2. Copy and paste the URL in the URL field of the element.




You can also modify the features by using these additional parameters. The parameters you can modify are language (lang), color and font. Add them after the base URL separated from it with a question mark (?).  


For example

https://idid.fi/extra/date/today/?lang=en



Language

To change the language, use the parameter lang. The languages available include English (en), Swedish (sv), Spanish (es), German (de), French (fr), Dutch (nl), Italian (it), Arabic (ar) and Russian (ru). The default language of the element is Finnish so if you don't  define the language, it will be displayed in Finnish. 


For example

https://idid.fi/extra/date/full/?lang=en


Color

To change the color, use the parameter color. Define the color by using the HEX color code without the number sign (#). The HEX color code for black, for example, is #000000. Find the HEX codes for your colors here (external site, htmlcolorcodes.com opens in a new tab).


For example:

https://idid.fi/extra/date/today/?color=0073e6


Font

To change the font, use the parameter font. You can use all the fonts that are available for the text element on the iDiD management. Type the name of the font exactly as it is shown in the font menu.


For example

https://idid.fi/extra/date/today/?font=Fugaz One


Note that spaces are automatically transformed into %20 on the address bar. This does not affect the perfomance of the element.

https://idid.fi/extra/date/full/?lang=en&font=Fugaz%20One


Combining parameters

You can also use several parameters at once. Just separate the parameters from the base ULR with a question mark (?) and any subsequent parameters from one another using an ampersand (&).


For example

https://idid.fi/extra/date/?lang=es&color=1528E4&font=Lobster



Font size

The font size is scalable which means you can modify it easily by changing the size of the element.




Remember to save your content. Done!




Note! The use of this html element is permitted only in the iDiD Digital Signage system.