Datetime Default Date

QuestionsDatetime Default Date
Greg asked 4 years ago


How do you add the default date for today’s date?

Adrian replied 4 years ago

I use somethink like this:
$col[“editoptions”][“defaultValue”] = date(“d.m.Y”);

1 Answers
Abu Ghufran Staff answered 4 years ago

Answer by Adrian seems fine.
$col[“editoptions”][“defaultValue”] = date(“d.m.Y”);

You can change dateformat as required.

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Your Answer

15 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?