Bartender Date Function Follow
I'm new to bartender and already found one bug.
I'd like to have an output of "week of the year"+"year" in the date format "wwyy". I can set up a costum date format and it worked - once. Right now it's the week 5 means "ww" should format as "05". But it creates "04". In Germany, the first week with the number "01" startet not in 2015 but on the 29th of December 2014. As you might see, this is a bug in the format function, that does not use the system default for the first week of the year but uses always the first week with 7 days.
However - to solve this issue I tried to use VBScript but actually I have no idea how to put all the code within one expression. What I can type is
DatePart("ww", date, vbmonday, vbusesystem)
but this won't give me an additonal leading "0".
So any ideas?
Thank you :)
Please sign in to leave a comment.