Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lazy Man Request
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00631578
Message ID:
00631603
Views:
22
This message has been marked as the solution to the initial question of the thread.
Hello Kirk.

Does anybody have a routine written (that they will share) that will take an integer that represents minutes and turn it into a text format for hours/days
FUNCTION GetElapsedTime3( tnElapsedMinutes )
RETURN PADL( INT( tnElapsedMinutes / 1440 ), 3 )+' Days ';
  + PADL( INT(( tnElapsedMinutes % 1440 ) / 60 ), 2, '0' )+' Hrs ' 
Previous
Reply
Map
View

Click here to load this message in the networking platform