CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Relative dates and fiscal year
Pages: [1]

Author Topic: Relative dates and fiscal year  (Read 471 times)

ihf

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal
  • MySQL version: Unk
  • PHP version: Unk
Relative dates and fiscal year
January 26, 2014, 08:53:47 am
Is there anyway to redefine the relative dates that Civicrm search uses such that "This year" would meana definable fiscal year rather than the calendar year? Our FY begins on 7/1 and it would be helpful if a search that used "This year" or "Last Year" began on 7/1/XX and ended on 6/30/XX.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Relative dates and fiscal year
January 26, 2014, 09:55:28 am
This is an excellent idea.  There's already a place to define your fiscal year, but it only works on certain contribution reports (e.g. the LYBUNT report).

A related issue - there's no way currently to define that a fiscal year starts before the corresponding calendar year.  So if your FY2014 starts in 2013, Civi gets confused.

This might make a good CiviDay task - though unfortunately I'm pretty sure I already have a CiviDay task in mind.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Relative dates and fiscal year
January 26, 2014, 09:59:15 am

I think a slighly better way might be to add another entry(ies) called:

This Fiscal year
Last Fiscal year

(and conditionally add those only if fiscal year does not start on 01/01)

This allows folks to do both fiscal and calendar year as needed

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

ihf

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal
  • MySQL version: Unk
  • PHP version: Unk
Re: Relative dates and fiscal year
January 26, 2014, 10:39:59 am
That would be great.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Relative dates and fiscal year
January 29, 2014, 11:25:40 am

any chance u (or some developers in your org) can take a look and contribute a patch

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Relative dates and fiscal year

This forum was archived on 2017-11-26.