Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Getting date and time in schema

Partha18
Level 3
Level 3

Hi,

consider i have created a web application and a schema for it.

Web page have name, age and email and a submit button. when he fills the form and submit it, data is getting added in schema successfully.

But in schema i want an additional column like "registered time".

In that, schema automatically wants to take the date and time of the data entered into data schema.

is that possible? If so what i need to do to achieve it?

consider schema name as "par:registration" and column i want is "registered time".

<attribute name="registered time" label="Registered time" type="datetime"/>

Thanks in advance,

ParthaSarathy 

1 Accepted Solution
wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

Add default="GetDate()" to your attribute.

Thanks,

-Jon

View solution in original post

1 Reply
wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

Add default="GetDate()" to your attribute.

Thanks,

-Jon

View solution in original post