Datetime add minutes

Stimulsoft Reports.Flex discussion
Locked
tzalla
Posts: 12
Joined: Wed Apr 09, 2014 11:48 am

Datetime add minutes

Post by tzalla »

Hello,
i want to add minutes to a datetime using functions from the expression editor of a column. can u guide through the code??
i want to add 500 minutes in todays date in sql it would be " select DATEADD(minute,500,GETDATE())"
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Datetime add minutes

Post by HighAley »

Hello.

You could use next expression:

Code: Select all

{Today.AddMinutes(500)}
Thank you.
tzalla
Posts: 12
Joined: Wed Apr 09, 2014 11:48 am

Re: Datetime add minutes

Post by tzalla »

thanx!!
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Datetime add minutes

Post by HighAley »

Hello.

We are always glad to help you.

Thank you.
Locked