We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to use Date function in Enssential Calculate.

Hi,
1.Please, show me how to execute "Date" function in enssential Calculate:
Example:
=DATE(2010,12,33)
=Date(2010,-3,5)
=Date(2010,3,-15)
--> result: Year, Month, and Day parameters describe an un-representable DateTime.
But in excel, they execute well.
I don't know "Date" function is supported by those arguments.

2.When will we use "UseDatesInCalculations" Property? Could you please give me an example.
I used it in this case, but the result is wrong.
ex: ="8/9/2010" - "8/7/2010"

Thanks,
Vy.

1 Reply

NR Nirmal Raja Syncfusion Team August 10, 2010 12:23 PM UTC

Hi,

Thank you for your interest in Syncfusion products.

1. I am able to see the issue of the date parameter having negative values does not parsed properly. This seems to be an issue, and can you please post an incident so that we can create a bug report and work on it with the incident as reference.

2. The UseDatesInCalculation works as expected just similar to the MS Excel. Please check the sample in the Manual Calculation form to calculate the date with this property enabled.

The sample has been attached in the below location:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=DateCalc1576590819.zip

Let me know if you have any queries.

Regards,
Nirmal

Loader.
Live Chat Icon For mobile
Up arrow icon