Jump to content
We've recently updated our Privacy Statement, available here ×

get current year and the year after based on condtion


o-sama

Recommended Posts

i want to add year and the next year based on the following condtion :

if current date is after april / year

then i want to show

year / year +1

for ex if its may 2015
then show

2015/2016

if its Jan 2015
then show
2014/2015


how to achive that

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...