# Database Stored Procedure with IDSITE, MONTHS Parameters

**URL:** <https://forum.radzen.com/t/database-stored-procedure-with-idsite-months-parameters/2259>\
**Category:** Angular\
**Created:** [December 25, 2019, 7:54pm UTC](https://forum.radzen.com/t/database-stored-procedure-with-idsite-months-parameters/2259 "2019-12-25T19:54:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RUDI](https://forum.radzen.com/letter_avatar_proxy/v4/letter/r/50afbb/32.png) [@RUDI](https://forum.radzen.com/u/RUDI)\
**Post date:** [December 25, 2019, 7:54pm UTC](https://forum.radzen.com/t/database-stored-procedure-with-idsite-months-parameters/2259/1 "2019-12-25T19:54:32Z")

</div>

I have a stored procedure that accepts 2 parameters, @IDSite and @Months. When I pass the parameters through they are sent as long date strings instead of a simple date in the format "MM". This causes the proc to error out. It works fine if I execute it manually from the database with the proper date format.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [December 25, 2019, 8:53pm UTC](https://forum.radzen.com/t/database-stored-procedure-with-idsite-months-parameters/2259/2 "2019-12-25T20:53:47Z")

</div>

Yes, the application generated by Radzen will send by default dates in UTC ISO format. If your procedure cannot read such dates you can always create custom method and send the dates in desired format:

> **[Invoke custom method](https://www.radzen.com/documentation/invoke-custom-method/)**
>
> Implement custom methods in C# or VB and invoke them in Radzen
