• 0

Database of Country, Code, Dial Code, Date & Time


Question

Hi,

 

Working on an app where I need to have a list of Country (Australia), Country Code (AU), Dial Code (61), Short Date Format, Long Date Format, Short Time Format, Long Time Format.

 

Searched high and low and nothing I could find contains a succinct information.

 

Is there a global list/database available with above information that I can use? Happy with CSV, JSON, XML or other format that I can convert as needed.

 

Cheers :)

5 answers to this question

Recommended Posts

  • 1

What language/framework are you using? Here's a list of country codes, names and dial codes in JSON. You're framework (e.g. CultureInfo in C#) should be able to provide you date formats for each region. https://gist.github.com/anubhavshrimal/75f6183458db8c453306f93521e93d37

  • 0

Hello,

Some of the information you are looking for can be found in the following locations:

 


While that is not everything you are looking for, they should provide a starting point.

Regards,

Aryeh Goretsky
 

 

  • 0
  On 31/01/2022 at 09:09, virtorio said:

What language/framework are you using? Here's a list of country codes, names and dial codes in JSON. You're framework (e.g. CultureInfo in C#) should be able to provide you date formats for each region. https://gist.github.com/anubhavshrimal/75f6183458db8c453306f93521e93d37

Expand  

Thanks. I was originally using that but hoping that there will be a standard date time formats that go along for each country. Turns out that it is not tied to the country but rather the region and the language so more work is needed from my part. After that I am just using the .NET culture collection to extract what I needed. Looks like some refactoring is needed on my part.

  • 0

Unfortunately, there is no single global list or database that contains all the requested information in a succinct format. However, you can find open-source libraries and APIs that provide country-related data, including country codes, dial codes, and date/time formats. These resources often offer data in formats like JSON or XML that you can easily convert for your app's needs,

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Brave... the crypto browser with Brave ad rewards and Leo AI everywhere is not an issue for you and Firefox is? At least in Firefox you can disable everything you don't want easily in about:config and everything you don't want is REALLY removed even from the UI. in Brave the only way to really disable all this stuff and them to completely removed from the UI is to use administrator policies. You can only have them turned off without admin policies.
    • The UK shouldn't copy Trump. If the UK wants its own AI Industry it needs to build one, it also need to sort out the issue of startups flying away to America.
    • Azure Linux 2.0 reaches end of life, requiring AKS Arc users to upgrade by Paul Hill Microsoft has warned that Azure Linux 2.0, used in Azure Kubernetes Service (AKS) enabled by Azure Arc, will reach its end of life on July 31, 2025, necessitating users to upgrade. After this date, Microsoft will no longer provide updates, security patches, or support for Azure Linux 2.0. The longer it is used after this date, the more vulnerable systems will become due to a lack of patches. Azure Linux 3.0 brings significant upgrades to core components that enhance performance, security, and the developer experience. The Linux kernel is upgraded from version 5.15 to 6.6, bringing performance and hardware compatibility improvements. The Containerd package has been updated from version 1.6.26 to 1.7.13, improving container management. The SystemD package has been upgraded from version 250 to 255, streamlining system and service management, and OpenSSL has jumped from version 1.1.1k to 3.3.0, providing enhanced encryption and security. Azure Linux 3.0 also brings more packages and better tooling. Major versions of Azure Linux are typically supported for three years, with Azure Linux 3.0’s EOL projected for Summer 2027. It became generally available in August 2024.Microsoft said that users must migrate to Azure Linux 3.0 by upgrading their Azure Local instances to the 2507 release when it becomes available. After the Azure Local instance has been upgraded, users can then upgrade their Kubernetes clusters. Microsoft gives you the option to remain on the same Kubernetes version during this upgrade by providing the same version number on the aksarc upgrade command. After upgrading, you can verify the kernel version on your Linux nodes by adjusting the file path in this command: kubectl --kubeconfig /path/to/aks-cluster-kubeconfig get nodes -o wide This upgrade is mandatory for continued support. If you want to learn more, check out Microsoft’s announcement which also includes how to reach out to the AKS Arc team if you need to.
    • PDF-XChange Editor 10.6.1.397 by Razvan Serea PDF-XChange Editor is a comprehensive PDF editor that allows you to create, view, edit, annotate, and digitally sign PDF documents with ease. With advanced features like OCR, document security, and PDF optimization, PDF-XChange Editor is a powerful tool for both personal and professional use. Whether you need to edit text, images, or links, or add comments, stamps, or watermarks, PDF-XChange Editor provides all the necessary tools to make your PDFs look perfect. Additionally, it supports a wide range of file formats, including PDF, XPS, and DOCX, making it easy to convert and share your documents. PDF-XChange Editor key features: Edit text and images in PDF documents Add and remove pages from PDF files Annotate and markup PDFs with comments, highlights, and stamps Use OCR to convert scanned documents into searchable text Create and fill out PDF forms Sign and certify PDF documents digitally Add and edit hyperlinks within PDFs Extract text and images from PDF files Batch process multiple PDF files at once Customize the interface to your preferences Work with multiple documents in tabs Convert PDFs to other formats such as Word, Excel, and HTML Use advanced redaction tools to permanently remove sensitive information Add customizable headers and footers to PDFs Merge multiple PDF documents into a single file Split PDF documents into multiple files Add watermarks to PDF documents Use the measurement tools to calculate distances and areas in PDFs ....and much more PDF-XChange Editor 10.6.1.397 changelog: New Features Added offline support for MIP-protected documents. Bug Fixes & Improvements Fixed some security and stability issues. Click here for further information. Fixed an issue with DocuSign when a document name is very long. Fixed a very rare issue when opening password-protected files. (46285) Fixed an issue with moving content items in some cases, where arrow keys became unexpectedly deselected under certain conditions. (T# 7476) (40279) Fixed an issue with disabling the Zoom In/Out tool after using the Snapshot tool. (46330) Fixed an issue with an unintentional button press when the Autoscroll command was executed under specific conditions. (46289) Fixed an issue with resetting object selections when panning with mouse middle button. (46358) Fixed an issue with adding a highlight when starting to drag directly above the comment that is itself above base content text. (46410) Fixed an issue with adding a guideline by dragging from the ruler while a text comment or base content is being edited. (45858) Fix the call to app.clearTimeOut after the timeout handler was executed and the associated timer was unregistered. Improved static XFA support. Fixed an issue when adding Insert/Replace text markup comments to the first word in a text line. (47120) For a complete list of changes and more detailed information, please refer to the official PDF-XChange Editor Version History. Download: PDF-XChange Editor (64-bit) | Portable ~300.0 MB (Shareware) Download: PDF-XChange Editor (32-bit) | Portable ~200.0 MB Download: PDF-XChange ARM64 | 264.0 MB Download: PDF-XChange Portable @PortableApps.com | 97.0 MB View: PDF-XChange Editor Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Dedicated
      Daniel Pinto earned a badge
      Dedicated
    • Explorer
      DougQuaid went up a rank
      Explorer
    • One Month Later
      MIghty Haul earned a badge
      One Month Later
    • Week One Done
      MIghty Haul earned a badge
      Week One Done
    • Collaborator
      KD2004 earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      597
    2. 2
      Michael Scrip
      201
    3. 3
      ATLien_0
      192
    4. 4
      +FloatingFatMan
      140
    5. 5
      Xenon
      127
  • Tell a friend

    Love Neowin? Tell a friend!