Template:Switchtime

{{#expr: ({{{1|}}}* {{#switch: {{{2|}}} }} ) / {{#switch: {{{3|}}} }}
 * second = 1
 * minute = 60
 * hour = 3600
 * day = 86400
 * second = 1
 * minute = 60
 * hour = 3600
 * day = 86400