Global::time2StrHHMM_DNT

/***************************************************
Created Date: 13 Jul 2013
Created By: Jimmy Xie(Tectura)
Helpdesk Ticket#: TB001613 - Accounts Payable Positive Pay
Description of Behavior: Format time to temp str.
Expected Input:
Expected Output:
***************************************************/
public static TempStr time2StrHHMM_DNT(int _tIME)
{
    str hourStr;

    hourStr = num2str( _tIME div 3600       ,2,0,0,0);
    hourStr = strReplace(hourStr,' ','0');
    return hourStr+
           num2Str0(_tIME mod 3600 div 60,2,0,0,0);
}
原文地址:https://www.cnblogs.com/Fandyx/p/3200146.html