Server side time from custom script

How to get serverside date and time from custom script

How about state what have you found or tried?

frappe.datetime._date && frappe.datetime (its returning the time initialise during erpnexxt installation.) . Right ?

Sure give these a try and share with us what you learn :slight_smile:

It’s likely what you’re looking for is in frappe.utils.data.

There are a couple of options: get_datetime, today and now.

1 Like

Thanks