How to get current time in C#? - Programmer

This is a discussion on How to get current time in C#? - Programmer ; I need to get current system DATE and TIME in C#. How to do it in a possibly simple way?...

+ Reply to Thread
Results 1 to 2 of 2

Thread: How to get current time in C#?

  1. How to get current time in C#?

    I need to get current system DATE and TIME in C#. How to do it in a possibly
    simple way?



  2. Re: How to get current time in C#?

    DateTime structur has a static member Now

    DateTime CurTime = DateTime.Now;

    Ali R.

    "Tomasz Radziszewski" wrote in message
    news:br4ama$au1$1@atlantis.news.tpi.pl...
    > I need to get current system DATE and TIME in C#. How to do it in a

    possibly
    > simple way?
    >
    >




+ Reply to Thread