Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Default datetime on user field View modes: 
User avatar
Certified Developer 8
Certified Developer 8
richard - 10/28/2010 6:20:02 PM
   
Default datetime on user field
I have a DateTime field in the System Tables/Users that I need to set it to the current datetime of the server as the default value.

I have tried ##TODAY## amongst other things (including making it a text field) but it does not appear to work.

Any tips? Also where would I find info on Macros like the (undocumented?) ##TODAY## etc and where they can be used?

Cheers

Richard

User avatar
Member
Member
kentico_michal - 10/29/2010 5:58:19 AM
   
RE:Default datetime on user field
Hi,

Could you please try to use string ##NOW## as a default value of field type Date and time?
Regrettably, there is no documentation about this topic available now.

Best regards,
Michal Legen