locked
How to query local system time and time from network server using NodaTime RRS feed

  • Question

  • User264732274 posted

    apologized for asking a bit different question regarding NodaTime because my hands are not well familiar with this library NodaTime. so looking for advise and suggestion to achieve my goal.

    i want to use Nodatime library to get date and time from local pc. this is nodatime library repository https://github.com/nodatime/nodatime

    and i found another nodatime repository for NTP date and time. here is the repository url https://github.com/mj1856/NodaTime.NetworkClock

    now i have confusion which one i should use as a result which help me to get local time and network time using single library.

    if i add the dll from both repository then any problem would occur....like to know in advance.

    Sunday, May 24, 2015 6:13 AM

All replies

  • User-821857111 posted

    i want to use Nodatime library to get date and time from local pc.

    Is the "local PC" the web visitor's machine? If so, you cannot get that using C# libraries which execute on the web server. You need to use JavaScript to get the time on the visitor's machine.

    Sunday, May 24, 2015 4:30 PM