Dates are not parsed. You can enter dates without a dash or slash in
yyyymmdd format.


Dieter Simader    http://www.sql-ledger.org   (780) 472-8161
DWS Systems Inc.     Accounting Software       Fax: 478-5281
=========== On a clear disk you can seek forever ===========

On Thu, 27 Jun 2002, Richard Lyons wrote:

> Can anyone tell me where date input (eg in Add Transaction) is parsed.  I 
> thought I had found it in Form.pm.  What I am trying to do is add something 
> like 
>     if ($date !~ /[^0-9]/ ) {
>         $date = substr($date, 0, 2) . $spc . substr($date, 2, 2) . $spc . 
> substr ($date, 4);
>     }
> to allow me to type in 280602 instead of bothering with the slashes in 
> 28/06/02.
> 
> (I am guessing Dieter is away as I haven't noticed any replies from him in 
> the past few days.)
> 
> --
> richard
> 
> 
> -------------------------------------------------------
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> 
> 





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf


Reply via email to