close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Universal Email 4 - Date format question

Thread began 5/22/2010 4:53 am by info386262 | Last modified 5/24/2010 11:47 am by Jason Byrnes | 1542 views | 3 replies |

info386262

Universal Email 4 - Date format question

I noticed when i submitted an online form in universal email 4 that the date and time is in a US format. I would like to change it to Australian and have the time zone of where i live and not the east coast time of the USA. I would also like to know how i can limit the upload file size within the online form.

Sign in to reply to this post

tom92909Beta Tester

Can you show me what you're getting? A screenshot please?
Also show me what you're wanting as your result instead of the US east coast version.

Lastly... Where is your web server physically located?

Cheers :)

Sign in to reply to this post

info386262

Time zone

Thanks for responding.

i have a test form located here article_submission/

i want to limit the size of the file upload and when the data is sent to my email address i would like the time and date to be in Perth Western Australian format. I found how to change the date format to DD/MM/YYYY but this time is still showing east coast USA time. Please view the screenshot attached of the submitted form.

Sign in to reply to this post

Jason ByrnesWebAssist

looks like you using the following code for showing the date:

php:
<?php

echo(date('d-m-y | H:i:s a T')); 
?>




this will use the timezone that the server is set to;


to change the timezone used, you could change that to:

php:
<?php

date_default_timezone_set
('Australia/Perth');
echo(
date('d-m-y | H:i:s a T')); 
?>



a list of availabel time zones can be found here:
timezones.php


to validate the uploaded files files size, you will need to edit the server validations applied to the page.

Go to Window -> Server behaviors. Double Click on the Server validations server behavior.

Select number validation, then click the lightning bolt next to server variable, select the File Size binding from the from collection. Set the maximum number to the maximum size you wish to allow in bytes. For example to allow 2MB, the maximum number will be 2097152

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...