Default value Date() (1 Viewer)

Lasses

New member
Local time
Today, 21:42
Joined
May 11, 2021
Messages
2
I apologize for my poor English (Swedish)
I want to record the date and time when an post is created in a table.
If I enter Default value, in the table, the time is registered on the next new post.
How do I get the time registered on the post I create?
 

Attachments

  • Skärmbild 2021-05-11 134606.jpg
    Skärmbild 2021-05-11 134606.jpg
    24.1 KB · Views: 30

Minty

AWF VIP
Local time
Today, 20:42
Joined
Jul 26, 2013
Messages
8,760
Hello and Welcome to AWF !

For a Date and Time you would need to use Now() (or the Swedish equivalent!)

Date() only returns the Date with the time value (hidden) set to 00:00
 

Lasses

New member
Local time
Today, 21:42
Joined
May 11, 2021
Messages
2
Hello and Welcome to AWF !

For a Date and Time you would need to use Now() (or the Swedish equivalent!)

Date() only returns the Date with the time value (hidden) set to 00:00
Thank you very much, for a quick reply
 

Users who are viewing this thread

Top Bottom