Hi ranorex team,
I want to "get" today's date and time value and put "key sequence" in this calendar.
Thank you in advance
Getting today's date value
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Getting today's date value
Hello Miljan,
The following code will use the key sequence action to write the current date and time in the specified format.
I hope this helps!
Regards,
Sean
The following code will use the key sequence action to write the current date and time in the specified format.
Code: Select all
Report.Log(ReportLevel.Info, "Keyboard", "Current date and time.", new RecordItemIndex(1));
Keyboard.Press(System.DateTime.Now.ToString("dd/MM//yyyy HH:mm"));
Delay.Milliseconds(20);
Regards,
Sean
Re: Getting today's date value
It helps a lot, thank you very much!
Regards
Regards