Appnitro Software Forums » MachForm

A question about custom dates

(2 posts)

  1. hi there - is there any way the data for the date picked by the user can be tweaked to include the day of the week?

    Posted 1 month ago #
  2. Edit your includes/entry-functions.php file.

    On line 336 and 344, you'll find these lines:

    $date_value = date("m/d/Y",strtotime($date_value));
    $date_value = date("d/m/Y",strtotime($date_value));

    change it to become:

    $date_value = date("m/d/Y - l",strtotime($date_value));
    $date_value = date("d/m/Y" - l,strtotime($date_value));

    That would show the day of the week on your email and when you view an entry from admin panel.

    Please note that the above is lowercase L, not number 1.

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.