?
Solved

Default date field to current date in IBM Forms

Posted on 2012-03-29
3
Medium Priority
?
622 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

765 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