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);
}

 

posted @ 2013-07-19 11:05  Fandy Xie  Views(236)  Comments(0Edit  收藏  举报