by COBS Tech Support » Wed Sep 20, 2006 12:22 pm
Make your time field character type, with a field length of 5 if you just want to record hours and minutes.
Assuming the field name is CREATETIME, your revised script would be:
If Mode = 3
If IsEmpty(SCRRead("Created"))
SCRWrite("Created", Today())
Endif
If IsEmpty(SCRRead("Createtime"))
SCRWrite("Createtime", Left(Time(), 5))
Endif
Endif