I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: date and time of transactions

dashed-slug.net Forums Airdrop extension support date and time of transactions Reply To: date and time of transactions


Thank you.

You are correct that now() is a better alternative.

current_time() returns the time only (not date) and it seems that in some versions of MySQL, the date is assumed to be today but in others it might not, hence the issue you experienced.

In any case, I have modified the code to use the WordPress locale-aware date/time as is done with other transactions. This will be out in the next release of the Airdrop extension.

Thank you for your feedback.

with regards