Page 1 of 1

Date & Time Formats

Posted: Sun Jul 01, 2018 10:09 pm
by lpug
Hello,

Is there a way to change the returned format for dates and time? i.e. 24hr time to 12hr and date format dd/mm/yyyy

Thanks

Re: Date & Time Formats

Posted: Mon Jul 02, 2018 5:51 am
by Pablo
To which part of the software is this related to?

Re: Date & Time Formats

Posted: Mon Jul 02, 2018 6:18 am
by lpug
Forms - Editbox, datetime-local, response from the server, i would like date format to be dd/mm/yyyy instead of yyyy/mm/dd and 12hr time rather than 24hr format.(Could this be my host issue the way it parses the data?)

Thanks

Re: Date & Time Formats

Posted: Mon Jul 02, 2018 6:39 am
by Pablo
The editbox date input is a standard HTML/browser feature. The format is determined by the browser based on the user preference or local settings. You cannot change this via HTML.

https://developer.mozilla.org/en-US/doc ... time-local

Re: Datetime picker

Posted: Mon May 18, 2020 3:20 am
by Emmy smith
I'm trying to do something like this http://sktthemesdemo.net/pet-care/#contactform_main Under " Make An Appointment "

when you click on calender icon. there's a pop up data picker shows to select the date. and then it disappears once the date is entered and the data is send ,

Is there a way to implement something like that in wysiwyg web builder can someone guide me , how to achieve this. thank u. am new here

Re: Date & Time Formats

Posted: Mon May 18, 2020 6:06 am
by Pablo
There is a "Date Picker" object in the toolbox in the section "JQuery UI / Bootstrap"

Re: Date & Time Formats

Posted: Mon May 18, 2020 11:48 am
by Emmy smith
hi dear thank , u for your reply. yes . i saw the time picker j query dialog u mention . but how can i inter grate it to form and it will work just as u click on it , it will popup and disappear after input and message is sent thank u i lookforward hearing from u soon

Re: Date & Time Formats

Posted: Mon May 18, 2020 12:05 pm
by Pablo
Just drag & drop the "date picker" to the form and it will work when you preview or publish the page.
If you want a dropdown menu then set the mode to 'Overlay'.

Re: Date & Time Formats

Posted: Mon May 18, 2020 4:01 pm
by Emmy smith
ok let me just do it and get back to u. i just love how u always reply immediately thanks

Re: Date & Time Formats

Posted: Mon May 18, 2020 4:57 pm
by Emmy smith
wow really it worked , great works , thanks for your help and support. u are great , but how can i have text inside the edit box to show that this is an appointment Date behind . Thank u

Re: Date & Time Formats

Posted: Mon May 18, 2020 5:16 pm
by Pablo
- right click the object
- select 'Object HTML'
- select 'Inside tag'
- copy/paste

Code: Select all

placeholder="Appointment Date"

Re: Date & Time Formats

Posted: Mon May 18, 2020 6:25 pm
by Emmy smith
oh my goodness, u have made my day. is working like anything someone can imagine. u are my man. u really have a great knowledge in Software development am glad for sharing your wisdom. Thank so much. i still have a questions to ask. one is how can i integrate pay-pal payment gateway in WYSIWYG Web builder , where students can pay their school fees or anything online using their credit card ,debit, MasterCard etc. Thank u dear

Re: Date & Time Formats

Posted: Mon May 18, 2020 6:30 pm
by Pablo
Standard PayPal buttons are available in the toolbox.
http://wysiwygwebbuilder.com/paypal_buynow.html
http://wysiwygwebbuilder.com/paypal_buynow.html

if you need more advanced integration then this will require scripting.

See also this related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=57726

Re: Date & Time Formats

Posted: Mon May 18, 2020 7:48 pm
by Emmy smith
Mr Pablo once again thank u for your support. guess what Success doesn’t just find you. You have to go out and get it, in another words for me you have already found success. i will be in touch with u again. stay blessed

Re: Date & Time Formats

Posted: Mon May 18, 2020 9:07 pm
by Emmy smith
Mr Pablo, really am new to this, i saw the sites, u sent to me. well documented, but i have a questions, i have sign up account with pay-pal, and they have as me to Set up standard payments ie
Set up standard payment options on your checkout page so your buyers can pay with debit and credit cards, PayPal, PayPal Credit, Venom, and alternative payment methods. i really not know what step to take here. just as i read that i can easily add pay pal button to my website and the rest,

pls can u help me out how to get this startup. and also, does it mean once i have signup account. i can use the email address In the General page and enter IE PayPal account Thanks, https://developer.paypal.com/docs/busin ... e-you-code

Re: Date & Time Formats

Posted: Tue May 19, 2020 6:15 am
by Pablo
I'm sorry, I cannot help you setup your PayPal account. It has been a long time since I did this myself so I am not familiar with all the new options.

Re: Date & Time Formats

Posted: Tue May 19, 2020 8:15 am
by Emmy smith
ok dear. thank u

Re: Date & Time Formats

Posted: Thu Feb 11, 2021 5:45 pm
by windsurfer
I have the date picker on my form to enter the DOB but the range is from 2011 to 2031 I don't need a date later than today obviously but i do need to be able to go back to at least 1940.
Is that possible ?

Re: Date & Time Formats

Posted: Thu Feb 11, 2021 6:27 pm
by Pablo
There is no standard option for this, but you can use the custom options to add a range:
https://api.jqueryui.com/datepicker/#option-yearRange

Re: Date & Time Formats

Posted: Thu Feb 11, 2021 7:14 pm
by windsurfer
Would be nice to be able to set that in the properties of the date picker.

Image
Image

Re: Date & Time Formats

Posted: Thu Feb 11, 2021 7:15 pm
by windsurfer
Of course if i update wysiwyg i have to remember that LOL

Re: Date & Time Formats

Posted: Thu Feb 11, 2021 7:27 pm
by BaconFries
Similar question at the following see my reply
https://www.wysiwygwebbuilder.com/forum ... 3&p=409344

Re: Date & Time Formats

Posted: Thu Feb 11, 2021 7:43 pm
by windsurfer
That works for me, thank you.