This topic is locked

Auto Datetime

1/1/2004 4:15:28 AM
ASPRunnerPro General questions
bajrai author

I am trying to set up a field Datetime in a table that will generate the current date/time for a record during a form insert. Is there a way to do this? I can't figure it out and would appreciate any help out there.

Sergey Kornilov 1/1/2004

Bajrai,
you can set default value for this field to Now(). This is exactly what you need.
Best regards,

Sergey Kornilov

bajrai author 1/2/2004

Hi Sergey
Thank you
It work just like the doctor order <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=872&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
Can I change the date as DDMMYYYY OZ format
Best Regards
Bajrai

Sergey Kornilov 1/5/2004

Bajrai,
the best way to change date display is to choose appropriate regional settings in ASPRunner (Miscellaneous tab).
Best regards,

Sergey Kornilov

500985 1/6/2004

Thank you again !!!