try this: PRINT Format(Now, "hh:nn:AM/PM") Note that there is no space in the format string. When I run this code, it works fine. hope this helps you out. jr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20051018/0f8065e1/attachment.html>