Form date value different from submitted date 6 months 3 weeks ago #239259

  • geeksscript
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 86
  • Thanks: 1
Hi Mihaela,

Hope you're doing well!

I am experiencing time zone difference issue from below code:
function ff_scriptdate_init(element, condition)
 setInterval(caltime, 500);

} // ff_scriptdate_init

function caltime() {
var date = new Date();

var year = date.getFullYear();
var month = date.getMonth() + 1;
var day = date.getDate();
var hours = date.getHours();
var minutes = date.getMinutes();
var seconds = date.getSeconds();

ff_getElementByName("scriptdate").value = year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;

I believe simply subtracting 330 minutes from the output of above code can help me.

Please guide.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.040 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links










Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

Questions et réponses sur les forums de l'AFUJ


Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!