It is currently Sat Apr 19, 2014 8:37 pm




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Clock option
PostPosted: Fri Apr 20, 2012 12:14 pm 
Valued Contributor
Valued Contributor

Joined: Thu Dec 01, 2011 3:43 pm
Posts: 24
Just a quick simple request. On the Clock option, allow for a customization to display the day of the week (Monday, Tuesday, etc.)


Offline
 Profile  
 
 Post subject: Re: Clock option
PostPosted: Fri Apr 20, 2012 1:44 pm 
Noventri Support Specialist
Noventri Support Specialist

Joined: Mon Dec 19, 2011 5:27 pm
Posts: 12
Location: Maryland, USA
Hello rdflesher,

Thank you for the suggestion! I will forward this request to the Development department.

In the mean time there is a way to display the day of the week and more.

Start off by creating a clock region. Then go to the Time Format field and select Custom. You will notice that a new field will appear to the right. In this field you are able to customize date using PHP functions.

For instance if you were to put: "%A %I:%M %p" it would show up as "Friday 1:27 PM".
%A = Full name of the day.
%I = Shows the hours in a 2-digit 12-hour format.
%M = Minutes represented in 2-digit format.
%p = Upper-case AM or PM depending on the time.

The following links contains more information including many more formats you can use:

http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html

http://php.net/manual/en/function.strftime.php


Let me know if you have any more questions.

Kind Regards,
Viktor



_________________
Viktor Seredich
Technical Support Engineer
Specialized Communications Corp. / Noventri
20940 Twin Springs Dr.
Smithsburg, MD 21783-1510 USA
800-359-1858
301-790-0103
Fax: 301-790-0173
http://www.noventri.com
Offline
 Profile  
 
 Post subject: Re: Clock option
PostPosted: Mon Apr 23, 2012 8:50 am 
Valued Contributor
Valued Contributor

Joined: Thu Dec 01, 2011 3:43 pm
Posts: 24
Awesome - this was exactly what I was looking for - just didn't see it in the custom options. Thanks.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron