====== DT_TO_TOD ====== {{:en:mervis-ide:35-help:dt_to_tod.png}} ===== Function name ===== DT_TO_TOD ===== ST call ===== PROGRAM DT_TO_TOD_DEMO VAR DT1: DT; TOD1: TOD; END_VAR TOD1:=DT_TO_TOD(DT1); END_PROGRAM ===== Description ===== The function brings the input value to the output as a time in a day. ===== Inputs ===== ^Input^Type^Description^ |IN1 |DT |Input value| ===== Outputy ===== ^Output^Type^Description ^ |=> |TOD |Output value| ===== Application example ===== {{:en:mervis-ide:35-help:dt_to_tod_example.png}}