/    Sign up×
Community /Pin to ProfileBookmark

hi,
i used 2 time fields name von and bis when i submit the form i get time like this according to system time let say
Datum Von Bis Save –on click submit in same form
Th 17.07.03 10:59 10:59—new time i get once form submits
Th 17.07.03 10:59 23:40

if you see the above result its wrong for Von time fiels as it shows .is it possible to get Bis time in Von field when form submits and get new field
<td >
<input size=”7″ type=”text” name=”datum” value=”<?=$D?> <?= date(“d.m.y”) ?>”>
</td>
<td>
<select name=”von”>
<option selected value=”<?=date(‘H:i’)?>”><? echo (date(‘H:i’)); ?></option>// due to this echo function i get system time is it possible to get selected time from bis in new field of von
<? fillDD(0, 0, -1); ?>
</select>
</td>
<td>
<select name=”bis” onchange=”calculateIst()”>
<option value=”<?=date(‘H:i’)?>”><? echo (date(‘H:i’));> </option>
<? fillDD(0, 0, -1); ?>
</select>
</td>
<td>
<input type=”submit” value=”S” name=”Save” border=”1″ >
</td>
</tr>
still any problem to understood [url]http://server2.vitodesign.com/scripts/diff.phtml[/url]

or any other way of script will welcome

if anybody sort out this problem will be appreciable

thanks

[upl-file uuid=c807ebe8-c4ac-4a4c-9962-e339fa8004b9 size=43kB]time.jpg[/upl-file]

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @zuzupus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...