[freeside] date conversion

ivan ivan at 420.am
Tue May 23 02:50:55 PDT 2000


On Tue, May 23, 2000 at 06:58:58PM +1200, Colin Chan wrote:
> 
> 
> ivan wrote:
> 
> > See htdocs/docs/man/FS/cust_pkg.html or the FS::cust_pkg manpage:
> >
> >   Note: setup, bill, susp, expire and cancel are specified as UNIX
> >   timestamps; see perlfunc.  Also see Time::Local and Date::Parse for
> >   conversion functions.
> 
> The links for time::local and date::parse don't seem to link anywhere.

Install them and use perldoc or man.

> 
> 
> >
> >
> > On Mon, May 15, 2000 at 03:32:22PM +1200, Colin Chan wrote:
> > > Hi,
> > >
> > > Can anyone tell me how freeside converts the date in the format that is stored
> > > in the freeside mysql database? The dates are fine when viewed on the freeside
> > > web interface, but when looking at mysql on a terminal the date is not
> > > readable, well it is in long number starting with 9..........
> > >
> > > I am attempting to manually add our existing customer details from access to
> > > mysql and would like to know how i can convert the dates into the current
> > > freeside format so that they can be viewed on the web interface properly.
> > >
> > > Thanks.
> > >
> >
> > --
> > meow
> > _ivan
> 

-- 
meow
_ivan



More information about the freeside-users mailing list