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.