Create a progress bar indicating year progress
Your code has to output the percentage of the year already passed form 1st of January of the current year.
You have to display a progress bar and the figure.
Input
You may use builtins to get the current date, if your language doesen't have it you can get date as input but it would be added to your byte count (has to ba a reasonable input format like 2017-05-12)
Output
Bar status: At least 10 different status relating to figure.
Figure: can be rounded or float, has to represent current (or input) day of the year / 365(366) * 100
Example
Today 2017-05-12
Output
▓▓▓▓▓░░░░░░░░░░ 36%
Take into account leap years informal definition (occurring evey 4 years) progess of the year for 12-Feb is 12% on leap years.