Click here to Skip to main content
15,940,550 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an object SwfCalendar in which I have to set time in hh:mm format. I am using a code similar to the below one.

VbWindow("Window").SwfCalendar("datetimepicker").SetTime FormatDateTime(Now,4)

In this case, it sets the time but as soon as it moves to the next object, the time is changed to a default time. Can anyone help me in resolving this issue?

Note : I cannot use Type for some other reasons. So, as much as possible, I will have to fix the issue with SetTime.

What I have tried:

I have tried with giving settime twice, activating the table cell twice and then setting time, But all of those failed. I checked SwfCalendar Object[^] and changed the format as well. And, used micright and micleft in hour and mins part before setting time. This also didnt work
Updated 19-May-22 21:11pm

1 solution

Share this answer
Padmapriya Elangovan 20-May-22 1:51am    
Hi, I checked this and tried with the same format too. But it is not working
Richard MacCutchan 20-May-22 2:47am    
Please use the Improve question link above, and add complete details of what is not working. We cannot help you unless you provide full details of your problem.
Padmapriya Elangovan 20-May-22 3:14am    
Updated the question
Richard MacCutchan 20-May-22 5:25am    
Try their help centre at UFT One Help Center[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900