Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7489649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:20:46+00:00 2026-05-29T15:20:46+00:00

I am hosting a program that is servicing people from timezone GMT+1000. However, my

  • 0

I am hosting a program that is servicing people from timezone GMT+1000. However, my timezone is at GMT +800, and people who login into my server sees time at +800.

I am using Sinatra and the time data is stored is POSIX time. Is there a way to show the time in GMT +1000 for my user’s convenience?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T15:20:46+00:00Added an answer on May 29, 2026 at 3:20 pm

    I found the solution. Works on Ruby 1.9.2

    time=Time.new
    => 2012-02-09 09:52:10 +0800 
    time.localtime("+10:00")
    => 2012-02-09 11:52:10 +1000 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to program a game that involves a client-server option for a network.
I made a program many years ago, that connects to a SQL Server database
I'd like to play with the idea of creating a server program that communicates
I've changed my hosting server from a Windows to a Linux system. But when
My hosting provider (pairNetworks) has certain rules for scripts run on the server. I'm
My hosting company recently upgraded me from Apache 1 to Apache 2, and I've
I was told that my program was not issuing a MAIL/EXPN/VRFY/ETRN when sending an
I am working on a weblogic application farm that is hosting a few dozen
I've been developing a Silverlight-c# client-server game that has now gotten to the point
I have simple chat program using WCF service. One service use for server and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.