Quick popup allowing you to view a calendar or pick a date.
If you've ever had to double click the Windows system tray time in order to get a quick calendar, then this is the extension for you!
This extension will add the current date to a small pane in you status bar. You can then click the date and a calendar will pop up, where you can scroll through months or years looking for the date you're interested in. When you click a date in the calendar, it will be displayed in a handy text box which then allows you to copy it out for whatever purpose.
You can put anything you like in this option and it will get interpreted and displayed in the text box below the calendar. Anything that isn't one of the special characters below will get displayed 'as is'.
For example if you enter 'You chose the %e day of %B, it was a %A' in the date format, each time you click on a date in the calendar, you'd get something like 'You chose the 31 day of March, it was a Friday'.
The magic characters are the following:
%a | abbreviated weekday name |
%A | full weekday name |
%b | abbreviated month name |
%B | full month name |
%C | century number |
%d | the day of the month ( 00 .. 31 ) |
%e | the day of the month ( 0 .. 31 ) |
%H | hour ( 00 .. 23 ) |
%I | hour ( 01 .. 12 ) |
%j | day of the year (000 .. 366 ) |
%k | hour ( 0 .. 23 ) |
%l | hour ( 1 .. 12 ) |
%m | month ( 01 .. 12) |
%M | minute ( 00 .. 59) |
%p | 'PM' or 'AM' |
%P | 'pm' or 'am' |
%S | second ( 00 .. 59) |
%s | number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC) |
%t | a tab character |
%U, %W, %V | the week number |
%u | the day of the week ( 1 .. 7, 1 = MON ) |
%w | the day of the week ( 0 .. 6, 0 = SUN ) |
%y | year without the century ( 00 .. 99 ) |
%Y | year including the century ( ex. 1972 ) |
%% | a literal % character |
There are more algorithms for computing the week number. All three specifiers currently implement the same one, as defined by ISO 8601: 'the week 01 is the week that has the Thursday in the current year, which is equivalent to the week that contains the fourth day of January. Weeks start on Monday.'