|
I have a windows service that writes to a .txt file DateTime.Now.ToShortDateString(),
the windows service wrote 7/21/2006, but when I use another program to
print the DateTime.Now.ToShortDateString() using message box, it prints
7-21-2006.
I created that windows service about 2 weeks ago and I changed the date
time format last week. I tried rebuilding the windows service, then
re-install it, still got the same date format. I added some new
functionality to the windows service, the functionality worked, but I
still get the same format. Is there any way to solve this problem?
thanks
|