This topic is locked

Time Format - no seconds

11/13/2010 4:36:49 AM
PHPRunner General questions
G
guroos author

My PHPR is reading a time field from an access DB. In the editor I have selected 'view as' 'time'.

It shows in the hh:mm:ss format and I would like it not to show seconds, only hh:mm if possible, any ideas.

Sergey Kornilov admin 11/16/2010

You can set 'View as' type of this field to 'Custom' and use the following code there:

date("H:i", $value);
G
guroos author 11/16/2010



You can set 'View as' type of this field to 'Custom' and use the following code there:

date("H:i", $value);



Appreciate the reply but unfortunately when I try that the inline children do not open

Sergey Kornilov admin 11/16/2010

Complete code as is follows:

$value = date("H:i", $value);


If this doesn't help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.