Hi all,
I got a problem.. I want to format the time into a decimal value.. The
code that I used worked fine for some time but now it does not want to
work.... If any one can help me or give me alternative code... Thanks
in advance
Code:
++++
decimal.Parse(DateTime.Now.TimeOfDay.ToString().Re place(":","").Replace(".","").Remove(7,DateTime.No w.TimeOfDay.ToString().Length
- 7).Trim());
Error:
++++
Additional information: Index and count must refer to a location within
the string.
All help would be appreciated.
Paul