VishalMistry
12th May 2016, 16:25
Hi all,

I have a scenario where I have to enter a date in a form field which is 25 characters long, and then use it in where expression of dynamic expression.

Can anybody guide me with suitable example ?

Vishal

bdittmar
12th May 2016, 16:37
Hello,

Use:

inputstr.to.utc()
Syntax:

function long inputstr.to.utc (const string date.inputstr(), string date.format(7), const string time.inputstr(), string time.format(7))

Description


This converts the specified local date and time input strings to UTC long format.


Arguments

const string date.inputstr() A date string (in local time).

string date.format(7) Indicates the format of the date string, by using the substitution symbols %D xxx [, lang ] .

const string time.inputstr() A time string (in local time).

string time.format(7) Indicates the format of the time string, by using the substitution symbols %U xxx [, lang ].

Regards

VishalMistry
26th May 2016, 09:09
Hi,

Thanks a lot. It works.

Vishal