I am trying to find out a way to get the current day of the year.. Like '155'th day of the year etc.
Using getDateTime action, I know we can get the current date in terms of month and date. But just wondering is there a way I can get the current day of the year?
add a project variable to hold the value, Use the runscript action (javascript) : [code]var d = new Date();var y = d.getFullYear();var onejan = new Date(y,0,1);FBVariables.DAYOFYEAR = Math.ceil((d - onejan) / 86400000); [/code]