In computer science and computer programming, system time represents a computer system's notion of the passing of time.
Questions tagged [systemtime]
171 questions
-1
votes
1 answer
Checking system time always and calling a function
In my app I want to check system time every second and then take the time compare it with an array of number and return the value until the user closes the application. So plz can anyone help me out thanks....

Bhavesh
- 88
- 12
-1
votes
1 answer
setting system time based on the calculated datetime in c#
i have copied the code , i have a variable ("Modifiedtime_1.Modifiedtime") i want to change system time with the datetime available in (Modifiedtime_1.Modifiedtime) whenever
if (compare == 0 || compare > 0)
{
Modifiedtime_1.Modifiedtime =…

kumar
- 1
- 3
-1
votes
2 answers
win32 - How to use SYSTEMTIME structure as a countdown clock
Hey everyone I am using the structure SYSTEMTIME to perform arithematic with c++ to create a countdown timer. How would I set a custom time and make it countdown? This is a very generic question but if anyone who has experience with the SYSTEMTIME…

user3251225
- 147
- 3
- 11
-1
votes
1 answer
error C2664: 'SetDlgItemTextW' : cannot convert parameter 3 from 'SYSTEMTIME' to 'LPCWSTR' 208
I still have some trouble with understanding this with UNICODE and ANSI in win32 api..
For example, i have this code:
SYSTEMTIME LocalTime = { 0 };
GetSystemTime (&LocalTime);
SetDlgItemText(hWnd, 1003, LocalTime);'
That generates the error in the…

540
- 71
- 7
-2
votes
2 answers
C# service registration to systemevent.Timechange()
I wrote a c# service that register to systemevent.Timechange() with function that call OntimeChange() (as mentioned in the MSDN http://msdn.microsoft.com/en-us/library/microsoft.win32.systemevents.aspx)
Running this code in visual studio all works…

gln
- 1,011
- 5
- 31
- 61
-4
votes
1 answer
System Time To Epoch in C#
In C# on Windows Vista - 7 with dot net 4.0 or less
I am trying to compare the values of login time, current time, and the modified time of a file to see which is the greater and which is least. I have found ways to declare and cast these three…

nimrod
- 1