Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am working on a time submittal form which uses the datetimepickers with the time format to enter log in , Lunch out, Lunch in and log out times. I have set up a dialog with which we can save default values (like a property page) to the settings. It is supposed to set the values for the datetimepickers to these values on the load event and also save the values entered in the dialog back to settings. However on load it defaults the Time in dtp (datetimepicker) value to the current time, and ignores the rest of the dtps.

 

How can I force the date to a specific time, say 5:00 AM or 6:00 AM? I found that if I put in a message box to pull the settings for time and display them, the Time in Setting shows up as the current time not the amount I entered in the dialog.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...