>hi all,
>
>a = dtoc( datetime() , 1 ) OR a = dtoc( date() , 1 )
>
>I want a formule that give "T" or "D" when i type A
>
>how can i have this ?
>
>
>thank in advance
>
>bernhart
To distinguish the type of a variable, or expression, you can use the type() and the vartype() functions.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)