Support » Plugin: ByC WooCommerce Order Delivery or Pickup with Date Time Location - WooODT Lite » How to retrieve date time values programatically?

  • Resolved shahidaperveen1983

    (@shahidaperveen1983)


    Hi,

    I would like to ask how i can retrieve Date field value and Time field value in my custom code from the checkout page.

    I want to do some calculations on the checkout page and i need to retrieve the values of date and time user entered?

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

    (@mdalabar)

    Hi,

    Follow this to get chosen date & time on checkout page respectively

    
    jQuery( "#byconsolewooodt_delivery_date" ).datepicker( "getDate" );
    jQuery("#byconsolewooodt_delivery_time").val();
    

    Thanks

    Thread Starter shahidaperveen1983

    (@shahidaperveen1983)

    Thanks a lot, it worked for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to retrieve date time values programatically?’ is closed to new replies.