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 5997241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:14:08+00:00 2026-05-23T00:14:08+00:00

im creating a phonegap application with images that will be updated weekly, i am

  • 0

im creating a phonegap application with images that will be updated weekly, i am able to load and save the data onto the phone. However in testing i have found that many people have incorrect dates on their phone so its been difficult to tell the app when to download the new data.

is there a nifty piece of php i can include on my server that will save the current date as JSON or XML that the app can check to find the correct date(in Vancouver, Canada)? Or maybe there is already a resource that does this. As it is a phonegap app the same originator rule is not a problem.

my preferred format would be mm/dd/yyyy but if theres a good solution in another format i can be flexible

thanks, tim

  • 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-23T00:14:08+00:00Added an answer on May 23, 2026 at 12:14 am

    You’ll want to use php’s date function and json_encode
    try

    <?php echo json_encode(array('now'=> date('m/d/Y')));?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Creating My Windows Form Application and using ADO.Net as Data Access layer and SQL
when i am creating a phonegap based application then it gives the error of
When creating a web application, and lets say you have a User object denoting
While creating classes in Java I often find myself creating instance-level collections that I
I'm creating a game for the iPad using Phonegap, which means I'm using JavaScript/
I am using Phone Gap Blackberry environment for creating apps targeted OS6.0 & above.
I'm creating a quiz app with JQuery, JQtouch & Phonegap. The main screen shows
creating a landing page that sends an email when people submit their address. I'd
When creating an EditText in the java portion of the application, how do you
Creating an Iphone application, I used to perform INSERT QUERY on different databases. But

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.