This project is read-only.

Configure NearForums to work with multiple TimeZones.

Feb 19, 2011 at 3:39 PM

Hi all,

I have a question about NearForums.

I've set up my forum by downloading the source code and deploying to my web server.  I've noticed that out of the box date/times are rendered using the UTC timezone.  Does NearForums provide functionality for displaying dates in the users local timezone?


Feb 19, 2011 at 4:41 PM

Please forget this as I have found the timeZoneOffset attribute in site.Config


Feb 19, 2011 at 7:47 PM

Great that you figure it out!

If you have any other doubt, let us know!

Kind regards,


Mar 21, 2013 at 7:25 PM
Edited Mar 21, 2013 at 7:25 PM

Timezoneoffset : +1 is not showing proper datetime, setting with Grenich Mean time. (UK)

if says 6:46 instead of 5:46

Help me on it.

Mar 22, 2013 at 10:28 AM
For Greenwich mean time, use timeZoneOffset="0".

Kind Regards,
Sep 27, 2013 at 9:14 AM
Is this feature stil present, the default site.config is like that with no option of timeZoneOffset

<?xml version="1.0" encoding="utf-8"?>
<site useSettings="true">
<authenticationProviders fakeProvider="false">
    <facebook apiKey="" secretKey="" />
    <!-- Now the appId is used for apiKey -->
    <twitter apiKey="CxdsBh3NtNf98V3bj929bA" secretKey="px83sxrlYVFkhwr0zT9Vb73SQToM4SY2TsxKqH78dE" />
    <formsAuth defined="true" timeToExpireResetPasswordLink="48" />
        identifier="" />-->
    <add pattern="(?&lt;=^|\s|&gt;)(#(\d+))" replacement="&lt;a href=&quot;#msg$2&quot; class=&quot;fastQuote&quot;&gt;[$1]&lt;/a&gt;" />
    <add pattern=":\)" replacement="&lt;img src=&quot;; alt=&quot;smile&quot; /&gt;" />
    <subscription async="true">
                <div style="font-family:arial,helvetica;font-size:12px;color:#333333;">
                    <h3>Hi <!--!USERNAME!--></h3>
                    <p>There is a new post on the thread <a href="<!--!URL!-->"><!--!TITLE!--></a>.</p>
                    <p>To see the post go to: <a href="<!--!URL!-->"><!--!URL!--></a>.</p>
                    <br />
                        Best regards,<br />
                        nearforums team.
                    <br />
                    <hr />
                    <p><em>If you don't want to receive emails from this thread, just click on the following link: <a href="<!--!UNSUBSCRIBEURL!-->"><!--!UNSUBSCRIBEURL!--></a></em></p>
                <div style="font-family:arial,helvetica;font-size:12px;color:#333333;">
                    <h3>Hi <!--!USERNAME!--></h3>
                    <p>Follow the following link to reset your password: <a href="<!--!URL!-->"><!--!URL!--></a>.</p>
                    <br />
                    <p>This link will expire in <!--!TIMETOEXPIRERESETPASSWORDLINK!--> hour(s).</p>
                    <br />
                        Best regards,<br />
                        nearforums team.
Sep 30, 2013 at 3:50 AM
Hey cpsaez,

There is alot of options that aren't shown in the site.config that you can configure via the Admin dashboard.

This one is Admin Dashboard -> Settings -> General settings, when your logged into an administration account.