Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

DateTime

$
0
0

Dear Experts,

 

In our webi Report we are usIng Date as the Prompt,for that prompt the user can input date in following formats

yyyyMMdd..Inside the report am catching these dates using the User response..

=UserResponse("Date")..My requirement would be i need to convert them into datetime..

 

Before this i create an formula variable to capture last execution date:

 

LastExecutionDate =LastExecutionDate();  // of type DateTime

 

when i use this in another variable, i get an value not sure i do it retrive:

 

 

=DayNumberofYear([LastExecutionDate]) => 75 some value which iam not sure how do it does to get this..?

 

 

Similarly iam trying it for my userersponse function like below:

 

 

Ur =UserResponse("Date")  // of type string

Using DayNumber Fn:

 

=DayNumberofYear([Ur])  /// getting an error..?

 

Any inputs on this to use DayNumberofYear for useresponse similarly  like last execution to retrieve an value. i donot want to get day from the userresponse directly instead i need to get it from daynumberofyear() which of type datetime.

 

Thanks,

-Dinya


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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