S
Sheldon
Hello -
I have two dates stored in txtLogin and txtLogout textboxes. The format is
as follows:
txtLogin - 10/20/2008 8:03:00 AM
txtLogout - 10/20/2008 5:30:00 PM
I need to subract login from logout to get the total time worked for the day.
The Staffed time worked for the day needs to be displayed in a
datetimepicker (dtpStaff) control with the format of HH:mm:ss. [Done]
Also, login and logout are displayed in dtpLogin and dtpLogout with the
format of HH:mm:ss tt (the textboxes are not visible). [Done]
When login or logout are changed, the dtpStaff control needs to update.
My main problems: 1) How to subtract login from logout; 2) update the
dtpStaff control.
Thanks in advance for anyone who can be of assistance.
I have two dates stored in txtLogin and txtLogout textboxes. The format is
as follows:
txtLogin - 10/20/2008 8:03:00 AM
txtLogout - 10/20/2008 5:30:00 PM
I need to subract login from logout to get the total time worked for the day.
The Staffed time worked for the day needs to be displayed in a
datetimepicker (dtpStaff) control with the format of HH:mm:ss. [Done]
Also, login and logout are displayed in dtpLogin and dtpLogout with the
format of HH:mm:ss tt (the textboxes are not visible). [Done]
When login or logout are changed, the dtpStaff control needs to update.
My main problems: 1) How to subtract login from logout; 2) update the
dtpStaff control.
Thanks in advance for anyone who can be of assistance.