LJ::Support::Stats::get_grains_from_seconds

LJ::Support::Stats::get_grains_from_seconds — Determine the grains (day/week/month/year) of given a date

Use

LJ::Support::Stats::get_grains_from_seconds(seconds);

Arguments

  • seconds. Seconds since Unix epoch.

Info

Used by dept.bml and individual.bml under htdocs/admin/support/. All DB access routines are in supportlib.pl.

Source:

cgi-bin/supportstatslib.pl