====== DATETOTALMINUTES ====== {{:en:mervis-ide:35-help:datetotalminutes.png}} ===== Function name ===== DATETOTALMINUTES ===== ST call ===== PROGRAM DATETOTALMINUTES_DEMO VAR DT1: DT; LR1:LREAL; END_VAR LR1 := DATETOTALMINUTES(IN1 := DT1); END_PROGRAM ===== Description ===== Returns number of minutes since the beginning of our era (since 1.1. 0000, 00:00) for a particular date and time. ===== Inputs ===== |Input|Type |Description| |IN1 |ANY_DATE|Input value| ===== Outputs ===== |Output|Type |Description | |=> |LREAL|Output value| ===== Application example ===== {{:en:mervis-ide:35-help:datetotalminutes_example.png}}