Time format

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
AVJ

Time format

Post by AVJ » 03 Jun 2009, 09:11

 Posted by:  AVJ 

hi ng
i want to set the format of my tbl window colum to hh:mm AMPM.

once i do this it doesn't allow me to enter the time like 09:50 AM, where it chaages to 95:0 .

how can i obtain this with out chnaging the datatype to string.

ctd 1.5.1

attached a sample code i used.

brgds
arun
You do not have the required permissions to view the files attached to this post.

Joao

Re: Time format

Post by Joao » 03 Jun 2009, 13:40

 Posted by:  Joao 

Hi. I did a test with Centura 2.1 and it worked. I set the Format property
of the column to 'hh:mm AMPM'.

Best Regards,
Joao.

FRBhote
India
Posts: 2198
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Re: Time format

Post by FRBhote » 04 Jun 2009, 11:10

 Posted by:  F R Bhote 

In Control Panel -> Regional and Language Options, customise Time to hh:mm and it should be ok.
You do not have the required permissions to view the files attached to this post.

AVJ

Re: Time format

Post by AVJ » 06 Jun 2009, 09:29

 Posted by:  AVJ 

Hi

this is ok, but i cannot chnage the format this way in control pannel as
this format is required only in this particular field.

Brgds
Arun

FRBhote
India
Posts: 2198
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Re: Time format

Post by FRBhote » 08 Jun 2009, 09:23

 Posted by:  F R Bhote 

It should do no harm to anything else if it was earlier h:mm.

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests