Skip to content

Tag: date

How to make email link expire after X minutes in php?

I am working on email link expire after some X minutes where X denotes some random date_time. so my motive is to expire the the link after some time what ever I set the date_time in side the $expire_date. So I just created dummy code myself just in order to sure my code works or not. I guess I am

wordpress date format change function

I am using below function getting dates from advanced custom fields pro plugin my below code displays the dates from options , i want date format is different i have used below code to change the format but not working , here the_field(‘event_start_date’); directly displaying without print/echo An…

html5 date field input is correct but output is reversed

if have the following problem. in my html5 datefield, i have the input order dd.mm.yyyy (for example todays date: 27.04.2017). thats correct in my country and timezone. the posted value is in reversed order to my input. its yyyy-mm-dd (for example todays date: 2017-04-27). is there any way to change the timef…