Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author westerndeal

    (@westerndeal)

    Hi @norhendraap,

    Currently, we do not provide default date and time fields to be added to the sheet.

    You can either use Gravity Forms Date field or Hidden Field and set default value as {date_dmy}. Which will fetch the current date and you can save it to the Sheet on form submission.

    I hope this helps.

    Thanks
    Abdullah

    Thread Starter norhendraap

    (@norhendraap)

    I tried to use this function to create timestamp as a substitute of entry date field

    add_filter(“gform_field_value_timestamp”, “unixtime”);
    function unixtime($value){
    return time();
    }

    but it’s not working as a timestamp, because the value is always same (not updated date and time) if the form is submitted from other devices.

    this is what I got for each entry (submitted at different time on different devices):
    1591760744 (10/06/2020 10:45:44)
    1591760744 (10/06/2020 10:45:44)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Entry Date’ is closed to new replies.