|
-
Master of disaster
re
Jbum,
I must tell you that you are flawless. Also I saw your web site and wow!!!.. (if all those things are your job you have spent lot of time in programming). Only code without stage using, I have no words for it. I didn’t know that AS is so powerful, I knew only for VB, C/C++ and JAVA, and fact that they are capable for such a things.
Enough with Glorify, let’s back in real world, if you don’t mind.
The script above is great but it’s workable for another purpose (maybe I’ll use it latter in my second project that I’ve been planning), but my present project want another approaching to the problem. I don’t need getData() object cause I will type the dates by hand, so regard to it dates will continue with further months, years and days considering the embedded dates by myself.
I try to assuming something and I’m not sure to send whole code but I will send a little one that could be workable if someone guru use it properly.
code:
//otplata is an input Text where I’m typing date in format 30.05.04 where last group (04) present loan disbursement year;
If (otplata.substring ( 6, 7 ) eq 96&&00&&04&&08){
February = 29;
}
I’m checking only short-term loans so I don’t need to know Leap Years before and after period of six maybe seven years.
Thanks in advance,
JUGO
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|