New Time/Date Screen Set
With the latest release CrystalControl2, a new "timedate" plugin has been added. Programming screens for this plugin uses the format noted below:
%a
Abbreviated weekday name
%A
Full weekday name
%b
Abbreviated month name
%B
Full month name
%c
Date and time representation appropriate for locale
%d
Day of month as decimal number (01 – 31)
%H
Hour in 24-hour format (00 – 23)
%I
Hour in 12-hour format (01 – 12)
%j
Day of year as decimal number (001 – 366)
%m
Month as decimal number (01 – 12)
%M
Minute as decimal number (00 – 59)
%p
Current locale's A.M./P.M. indicator for 12-hour clock
%S
Second as decimal number (00 – 59)
%U
Week of year as decimal number, with Sunday as first day of week (00 – 53)
%w
Weekday as decimal number (0 – 6; Sunday is 0)
%W
Week of year as decimal number, with Monday as first day of week (00 – 53)
%x
Date representation for current locale
%X
Time representation for current locale
%y
Year without century, as decimal number (00 – 99)
%Y
Year with century, as decimal number
%z, %Z
Either the time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown
id#=2974886458
Returns the current date, as decimal number (00 – 366)
%%
Percent sign
An example of the "cc2_timedate.ini" file would be:
[time00]
id=1271088632
format="%a %d %b %Y"
[time01]
id=3124516610
format="%I:%M:%S %p"
The current date, as a decimal number, is now included in the latest release of CC2. CC2 now has a countdown function. Nice!
Time/Date Screen 1:
Time/Date Screen 2:
Time/Date Screen 3:
Time/Date Screen 4:
Time/Date Screen 5:
Time/Date Screen 6, European format:
Time/Date Screen 7:
Time/Date Screen 8:
Time/Date Screen 9:
Time/Date Screen 10:
Time/Date Screen 11:
Time/Date Screen 12, European format:
Time/Date Screen 13:
Time/Date Screen 14:
Time/Date Screen 15:
Time/Date Screen 16:
Time/Date Screen 17:
Time/Date Screen 18, European format:
Time/Date Screen 19:
Time/Date Screen 20:
Time/Date Screen 21:
Time/Date Screen 22:
Time/Date Screen 23, European format:
Time/Date Screen 24:
Time/Date Screen 25:
Time/Date Screen 26:
Time/Date Screen 27:
Time/Date Screen 28:
Time/Date Screen 29:
Time/Date Screen 30, European format:
Time/Date Screen 31:
Time/Date Screen 32:
Time/Date Screen 33:
Time/Date Screen 34, European format:
Time/Date Screen 35:
Author: JC634
Screen zip file: date-time.zip
Install Instructions:
Copy the clock gif file out of the zip to C:\gifs.
Copy the screens out of the zip into the: C:\Program Files\CrystalControl2\screens directory, add them to your module.
Included are 16x2, 20x2 and 20x4 screen files.
Development thread: N/A
With the latest release CrystalControl2, a new "timedate" plugin has been added. Programming screens for this plugin uses the format noted below:
%a
Abbreviated weekday name
%A
Full weekday name
%b
Abbreviated month name
%B
Full month name
%c
Date and time representation appropriate for locale
%d
Day of month as decimal number (01 – 31)
%H
Hour in 24-hour format (00 – 23)
%I
Hour in 12-hour format (01 – 12)
%j
Day of year as decimal number (001 – 366)
%m
Month as decimal number (01 – 12)
%M
Minute as decimal number (00 – 59)
%p
Current locale's A.M./P.M. indicator for 12-hour clock
%S
Second as decimal number (00 – 59)
%U
Week of year as decimal number, with Sunday as first day of week (00 – 53)
%w
Weekday as decimal number (0 – 6; Sunday is 0)
%W
Week of year as decimal number, with Monday as first day of week (00 – 53)
%x
Date representation for current locale
%X
Time representation for current locale
%y
Year without century, as decimal number (00 – 99)
%Y
Year with century, as decimal number
%z, %Z
Either the time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown
id#=2974886458
Returns the current date, as decimal number (00 – 366)
%%
Percent sign
An example of the "cc2_timedate.ini" file would be:
[time00]
id=1271088632
format="%a %d %b %Y"
[time01]
id=3124516610
format="%I:%M:%S %p"
The current date, as a decimal number, is now included in the latest release of CC2. CC2 now has a countdown function. Nice!
Time/Date Screen 1:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/1.jpg)
Time/Date Screen 2:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/2.jpg)
Time/Date Screen 3:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/3.jpg)
Time/Date Screen 4:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/4.jpg)
Time/Date Screen 5:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/5.jpg)
Time/Date Screen 6, European format:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/6.jpg)
Time/Date Screen 7:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/7.jpg)
Time/Date Screen 8:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/8.jpg)
Time/Date Screen 9:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/9.jpg)
Time/Date Screen 10:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/10.jpg)
Time/Date Screen 11:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/11.jpg)
Time/Date Screen 12, European format:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/12.jpg)
Time/Date Screen 13:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/13.jpg)
Time/Date Screen 14:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/14.jpg)
Time/Date Screen 15:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/15.jpg)
Time/Date Screen 16:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/16.jpg)
Time/Date Screen 17:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/17.jpg)
Time/Date Screen 18, European format:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/18.jpg)
Time/Date Screen 19:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/19.jpg)
Time/Date Screen 20:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/20.jpg)
Time/Date Screen 21:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/21.jpg)
Time/Date Screen 22:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/22.jpg)
Time/Date Screen 23, European format:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/23.jpg)
Time/Date Screen 24:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/24.jpg)
Time/Date Screen 25:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/25.jpg)
Time/Date Screen 26:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/26.jpg)
Time/Date Screen 27:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/27.jpg)
Time/Date Screen 28:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/28.jpg)
Time/Date Screen 29:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/29.jpg)
Time/Date Screen 30, European format:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/30.jpg)
Time/Date Screen 31:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/31.jpg)
Time/Date Screen 32:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/32.jpg)
Time/Date Screen 33:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/33.jpg)
Time/Date Screen 34, European format:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/34.jpg)
Time/Date Screen 35:
![](http://www.crystalfontz.com/backlight/forum/userscreen/67/35.jpg)
Author: JC634
Screen zip file: date-time.zip
Install Instructions:
Copy the clock gif file out of the zip to C:\gifs.
Copy the screens out of the zip into the: C:\Program Files\CrystalControl2\screens directory, add them to your module.
Included are 16x2, 20x2 and 20x4 screen files.
Development thread: N/A
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.