DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

SQL Reporting Services Date Conversion

06.29.2006
| 18650 views |
  • submit to reddit
        // A single line function to convert a date from one format to another.  

=System.DateTime.ParseExact(Parameters!lic_period_start_date.Value,"dd/MM/yyyy",System.Globalization.DateTimeFormatInfo.InvariantInfo).ToString("yyyyMMdd")