Thursday, June 16, 2011

Convert Date to UTCDateTime


static void ConvertDate2DateTime(Args _args)
{
    TransDate       fromDate,toDate;
    TimeZone        tz;
    UtcDateTime     fDateTime,tDateTime;
    ;
   
    fromDate    = mkDate(01,06,2011);
    toDate        = mkDate(30,06,2011);
    fDateTime   = Global::datetobeginUtcDateTime(fromDate,tz);
    tDateTime   = Global::datetoendUtcDateTime(toDate,tz);
    print fDateTime;
    print tDateTime;
    pause;
}

No comments:

Post a Comment