Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use Execution Time in Bulid-in Fields in Footer of report
and use this expression
C#
=Format(Globals!ExecutionTime .Date,"yyyy/M/d")


how can i use Hijri shamsi date ?
Posted
Updated 18-Jan-12 21:11pm
v2
Comments
NeptuneHACK! 19-Jan-12 4:50am    
That's a bit hard, hmm...
Amir Hossein Jun2022 29-Jun-22 7:24am    
Look at this https://stackoverflow.com/a/42386786/11258674
Amir Hossein Jun2022 29-Jun-22 7:24am    
Look at this https://stackoverflow.com/a/42386786/11258674

1 solution

i think RDLC report no support Hijri date , but i have another way to solve this problem from sql server
SQL
select SUBSTRING(convert(varchar,the_Hijri_date,131), 0, 11) AS expr1 
From Table


after that you must Add field " expr1 " in dataset
then from RDLC report set the field ( expr1 )
and run the report you will see Hijri date .

may be there are another professional way !!!


TAMER FAROUK
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900