Hidden field - date default value

Hello,

I tried to set a default date of value now. For date fields this does work fine. For a hidden field, the value “now” is stored. I think this is obvious because it is no date field. Beside of that, is there a way to resolve those strings to a date by some special syntax? I’m aware that a hook might work here to set a value for the field after or before saving. The documentation for the hidden field is sadly mentioning not much information, e. g. supported field properties.

Best Regards,

I’d try a custom page method that returns the current datetime