How to calculate the number of minutes in a month?
Does anyone know how to calculate the number of minutes in a month?
I need to calculate the number of minutes per month to deduct from them idle time also in minutes and get the percentage of accessibility of the environment.
Regards,
Rodion
Best Answers

Hi Apollo,
I just solved this by:
(DAYOFMONTH(LAST_DAY(`sys_created_on`))*1440)Thanks!
1 
Also you can just do:
DAY(LAST_DAY(CURRENT_DATE()))
This will give you the days of the current month. Then you can multiply it by 1440 to get minutes a day.
Thank you,I work for Domo1
Answers

Hi,
I found this Dojo article where they found a way to do this in beast mode. https://dojo.domo.com/t5/BeastModeETLDataflow/Isthereawaytocalculatethetotaldaysinthemonthweare/mp/14645#M1136
This calculates the number of days in a month that we are currently in. With that you can multiply it by 1440 which is how many minutes are in a day.
Thank you,I work for Domo1 
Hi Apollo,
I just solved this by:
(DAYOFMONTH(LAST_DAY(`sys_created_on`))*1440)Thanks!
1 
Also you can just do:
DAY(LAST_DAY(CURRENT_DATE()))
This will give you the days of the current month. Then you can multiply it by 1440 to get minutes a day.
Thank you,I work for Domo1
Categories
 All Categories
 1.3K Product Ideas
 1.3K Ideas Exchange
 1.4K Connect
 1.1K Connectors
 281 Workbench
 2 Cloud Amplifier
 4 Federated
 2.8K Transform
 83 SQL DataFlows
 541 Datasets
 2.2K Magic ETL
 3.2K Visualize
 2.3K Charting
 516 Beast Mode
 26 Variables
 555 Automate
 129 Apps
 408 APIs & Domo Developer
 18 Workflows
 28 Predict
 12 Jupyter Workspaces
 16 R & Python Tiles
 342 Distribute
 84 Domo Everywhere
 257 Scheduled Reports
 1 Software Integrations
 81 Manage
 80 Governance & Security
 2 Product Release Questions
 Community Forums
 41 Getting Started
 27 Community Member Introductions
 77 Community Announcements
 4.8K Archive