Calculate difference in time between now & the Build date in registry

(imported topic written by gigi23)

I need code that will calculate the difference in time between now and the Build date to add to this existing code

(Value “Build Date” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Intel\IT Build Info” of registry )

Any suggestions?

Thanks

(imported comment written by Lee Wei)

Hello,

What is the format for Build Date in the registry?

Also, what is the format that you want returned? For example, just days 2 days, 0.5 days; or by days, hours, minutes, etc.

Lee Wei