[SOLVED] Date - registry
Published: January 3, 2019 - 3:35 PM
Good morning,
I'm a complete newbie on Wapt, so please excuse my question...
How do you write today's date to the registry?
I wrote this line, but it's a KO
I tried to add:
Thank you in advance to everyone who is willing to help me!
Gilles
I'm a complete newbie on Wapt, so please excuse my question...
How do you write today's date to the registry?
I wrote this line, but it's a KO
Code: Select all
registry_setstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\APPLILOC\FireFox ESR Portable', 'InstallDate' , datetime, type=REG_SZ)Code: Select all
import datetime
date = datetime.date.now()
str(date)Gilles