Output Tinybit as "rue" or "False"

Hi

Is there any way to output a Tinybit value (1 or 0) to a string "True" or "False" (or "Yes" and "No")?

Tks

BSC




$value = 1;

echo ($value==1)?'True':'False';

Thanks. Simple solution (I’m a rookie in PHP as well)

Do you think you can help me with the date format issue?

Tks

BSC

date(‘m/d/Y’,strtotime($model->dateValue);