Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to Convert the DateTime Value into the Fiscal Year ???????

$
0
0

I have a table weekendsummary , In this there is a field "MeetingDate" .

I want to write a T-SQl Code which gives me the Fiscal Year On the Basis of MeetingDate

i.e. if Meeting Date is --"2013-04-26 00:00:00.000" Then Fiscal Year Would be "2012-2013"

OR If meeting date is "2012-10-19 00:00:00.000"  Then Fiscal Year Would be "2012-2013"

same for all the data in this table

Please suggest the T-SQL Code for this ????


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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