Combining Date and Time into one field

M

Mark

I believe this is the resolution to my issue, combining the selected
date and time into one text box but not sure how to do it. What I am
trying to do is, have a form that a user fills out and submits, then I
have created a calendar view of the form library I have the infopath
published too. One the form, the user can select an implementation
date and implementation time. I wanted to use these fields to have an
automated entry on the calendar view. I have tried multiple things
but have realized that the date control only displays either 'time' or
'date' not both. It seems as though the default time is always 12:00
AM. So...I am hoping to allow the user to select both a date and
time, combine the two into hidden textbox or date control, then use
that control as teh beginning and end time for the calendar
view...hopefully that makes sense :)

Any help would be really appreciated, thanks!
 
A

Amod

fx>DefaultValue>There are few options doing this:
1. Use the function in a textbox: right click on the
textbox>Properties>DeaultValue-fx>Insert Function>Date&Time>now will give
current date & time.
or
2. Date picker control: right click>Data Tab>Data Type>Date & Time>Format
Button>Select the format of Date & Time. (make sure they are not none)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top