Expand my Community achievements bar.

Current Date and Time control

Avatar

Level 2

Hi,

I'm using the Current Date control on my form.  This is OK for the date but I need the current time on a seperate control.

I see it has binding options in the Object section ie date, date and time and time but only date seems to work.

Does anyone know how I can set this to display the time only?

thanks

Paul

3 Replies

Avatar

Former Community Member

On the Binding tab there is a dropdown that allows you to define what goes into th efield. Choose Time and that is all you will get.

Paul

Avatar

Level 2

Yes, that should be the answer.  But, as I said, when I select time only it still displays date and time.

In the 'Value' tab, I've been trying different settings.  I set Type to User Entered options and Calculated options.  I only get a blank unless I set this to "Calculated - Read Only" and set the runtime property to the only option available which is 'Current Date/Time'

So, there must be another setting that I need?

thanks,

Paul

Avatar

Former Community Member

But you are using a Custom Control called current Date which has a calculation in it to put the date in the field. Use a Dat and Time field and follow the same procedure.

Paul