now() public static method

public static now ( ) : DateTime
return DateTime
Example #1
0
 private static DateTime initBootDateTime()
 {
     try
     {
         return(DateTime.now());
     }
     catch (Exception e)
     {
         throw initFail("bootDuration", e);
     }
 }
Example #2
0
 public OutStream writeNext(Uri path)
 {
     return(writeNext(path, DateTime.now()));
 }
Example #3
0
        //////////////////////////////////////////////////////////////////////////
        // Construction
        //////////////////////////////////////////////////////////////////////////

        public static Date today()
        {
            return(DateTime.now().date());
        }
Example #4
0
        //////////////////////////////////////////////////////////////////////////
        // Construction
        //////////////////////////////////////////////////////////////////////////

        public static Time now()
        {
            return(DateTime.now().time());
        }
Example #5
0
 public void debug(string message, Err err)
 {
     log(LogRec.make(DateTime.now(), LogLevel.m_debug, m_name, message, err));
 }
Example #6
0
 public void info(string message, Err err)
 {
     log(LogRec.make(DateTime.now(), LogLevel.m_info, m_name, message, err));
 }