c# - How do I set the system time? -



c# - How do I set the system time? -

on windowsxp , onwards, if set datetime hijri calendar alternative provided adjust in "regional , language options".

what want either adjust hijri date using c# or set scheme date own calculated hijri scheme date?

any help

changing scheme datetime can done importing setlocaltime function:

[dllimport("kernel32.dll")] static extern bool setlocaltime([in] ref systemtime lplocaltime);

you have calculate local time based on hijri time.

c# date calendar hijri

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -