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

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -