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

Attachment: 1.zip

Joao

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: 1230
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

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.

Attachment: time.JPG

AVJ

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: 1230
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

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