This will require Builder privileges for setup and implementation.
Using an expression to get the current date may be something you would like to do for demonstration purposes on your dashboard. Here is an example on how to use the JavaScript inside of a expression to get the Date.
var month = new Array();
month[0] = "January";
month[1] = "February";
month[2] = "March";
month[3] = "April";
month[4] = "May";
month[5] = "June";
month[6] = "July";
month[7] = "August";
month[8] = "September";
month[9] = "October";
month[10] = "November";
month[11] = "December";
var today=new Date();
var dd=today.getDate();
var yy=today.getYear()+1900;
var n = month[today.getMonth()];
n + " " + dd + ", " + yy;
Using this format you will set the output to a String data type. Output will be: MonthName Day, Year
Example Output: October 29, 2015.
For More Information:
- iDashboards Builder Manual 14 Analytics
- JavaScript Expression Help
Disclaimer: iDashboards Technical Support Engineers are not Data Analysts who know in depth SQL Queries or JavaScript Expressions. We often learn these skills on the job and have limited knowledge. We do our best to help you with your software in determining if: you are not leveraging the software in the best way for your data or you found a bug in the software, because we want to assist you in your success. If you have issues with in depth queries or expressions please contact iDashboards Support and know that it will take a bit of time to figure out what is necessary for this issue, and if necessary we will refer you to your Client Success Manager to schedule time with a Principal Product Engineer.
If the above is unable to resolve the issue, then please contact iDashboards Support for further assistance.
Comments
0 comments
Please sign in to leave a comment.