Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2800

Re: How to use DAY_Duration data type?

$
0
0

Hi

I did not understand your question completly could you share your code, what your are doing and what error you are getting?

 

Did you try this below code

this.duration = Duration.ParseFromString("P1Y14D"); // 1 year and 14days

this.result = this.duration.ConvertToDays();

Result: Integer value 379

 

 

regards

Sunil


Viewing all articles
Browse latest Browse all 2800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>