how to insert today date automatically

Questionshow to insert today date automatically
Patrick Chevalier asked 14 hours ago
1 Answers
Cedric answered 8 hours ago

Bonjour Patrick,

I think you can use something like this

$col = array();
$col[“title”] = “Start Date”;
$col[“name”] = “Start_Date”;
$col[“width”] = “8”;
$col[“sortable”] = true; // false this column is not sortable
$col[“search”] = true; // false this column is not searchable
$col[“editable”] = true;
$col[“formatter”] = “date”;
$col[“editoptions”][“defaultValue”] = date(“m/d/Y”);
$cols[] = $col;

Your Answer

20 + 20 =

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?