Category / Section
How to show Current Date and Time in Widget Title
Published:
You can display the current date and time in widget’s title using the Expression and Label Parameter supported by Bold BI application.
Follow these steps to meet this requirement:
-
Create and save a column with an expression using the
TODAY()
function.
-
In the widget title, use the expression column as the label parameter.
-
Preview the dashboard to help you view the current date and time in the widget title.
By default, the current date and time will be shown when using the created expression column. You can also display a required date formatting, as well as the following.
The following is a list of supported date formatting types.
Date Foramtting Type | Syntax |
---|---|
Date Time | {{:DateTime(Column_Name)}} |
Date | {{:Date(Column_Name)}} |
Year | {{:Year(Column_Name)}} |
Quarter Year | {{:QuarterYear(Column_Name)}} |
Month Year | {{:MonthYear(Column_Name)}} |
Week Year | {{:WeekYear(Column_Name)}} |
Day Month Year | {{:DayMonthYear(Column_Name)}} |
Month Day Year | {{:MonthDayYear(Column_Name)}} |