Posts

Showing posts with the label Time into seconds

How to get Hours, Minutes or seconds from Time Data Type in Business Central | AL Code | NAV

 Format Time Data Type To Hours, Minutes or Seconds So we have Time suppose System Current Time in Time data type as follows and what we need is to get only hours minute or seconds out of the Time value that is formatting it into some text expression like.                                           22 hours 34 minutes 5 seconds  or whatever you are getting in other planets but i have same solution for you aliens.👽    var                  MySysTime:  Time ; begin MySysTime := Time; Message('Regular Time printing as : %1', MySysTime ); //Formatting into parts separtely                        message('Current hours %...