NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Edvard Korsbaek on November 03, 2016, 01:26:54 AM

Title: Show Clarion time as 'Time'
Post by: Edvard Korsbaek on November 03, 2016, 01:26:54 AM
Hi!

Have a coule of datetime, where I want to show the date as date (no problem, uses the 'Over' component from the dct) and the time as time (i.e. 8:00 instead of 2880001) in both webform and webbrowse.
I just have not figured out how to, and found nothing in doc's too.

How to?

Best regards

Edvard Korsbæk
Title: Re: Show Clarion time as 'Time'
Post by: Vinnie on November 03, 2016, 05:54:15 AM
Need to use a picture

Date '@d5' for the UK date type
Time '@t4' for the Hour:Minute:seconds

put the picture on the field in the browse
Title: Re: Show Clarion time as 'Time'
Post by: Edvard Korsbaek on November 03, 2016, 12:39:56 PM
the browse has a field for it.
but the form - at least I cannot find it.

best regards

Edvard
Title: Re: Show Clarion time as 'Time'
Post by: Vinnie on November 04, 2016, 12:02:34 AM
Using a Form

Second Tab (STRING)
Half way down the page

PICTURE
Title: Re: Show Clarion time as 'Time'
Post by: Edvard Korsbaek on November 10, 2016, 12:34:40 PM
Thanks!

A bit strange, that a time based upon a Clarion time is a 'STRING' - I used number, and looked for the picture there.
Title: Re: Show Clarion time as 'Time'
Post by: Bruce on November 13, 2016, 10:12:51 PM
>> I used number, and looked for the picture there.

"Number" is an HTML type, which cannot be formatted (formatting is done by the browser) so it has no Picture field.

"String" maps to a HTML "entry" field - which is what you use to enter Times.
But yeah, it wouldn't hurt to add a "Time" type, as a pure synonym for "String" to make it more intuitive.
I'll do that at some point.

cheers
Bruce