Solved

Default date field to current date in IBM Forms

Posted on 2012-03-29
3
603 Views
Last Modified: 2013-12-18
Hi,

I am using IBM Forms on my portal server where I have a date field. The user supplies a number of days to my form in one field and a start date in another fields.  I need to calculate the end date from there.  I need two things here, first I need to default the start date to tomorrow and second I need to set the end date when the date or number of days changes. Does anyone know how to do this?  Please be explicit, I have only been doing forms for three weeks and already the training is seeping away...

Bubba
0
Comment
Question by:bganoush
  • 2
3 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 37785901
> .. date to tomorrow ..
what is "tomorrow" when the server is located in timezone EST, runs with timezone GMT and its TZ environment is set to MST and also the client (browser) is located in GMT-12 runs in timezone PST and claims via browser settings and/or HTTP headers to be in GMT+3

would you do the calculation on server (which I recommend) or on the client?

sorry for beiing a bit pedantic for a question which sounds simple, but we're in a global world  ;-)
0
 

Accepted Solution

by:
bganoush earned 0 total points
ID: 37787561
Both the server and the users are local in the same timezone, they actually use the same time server to synchronize their clock.

I was able to find some samples to do this.. thanks anyway....
0
 

Author Closing Comment

by:bganoush
ID: 37805132
Found solution by asking Dr. Google...
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now