• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Library Time.h language

Q&A Forum › Library Time.h language
-1 Vote Up Vote Down
Ronald asked 3 years ago

First of all : many thanks to Sara and Rui for all their work and effort !

My question :

I’m using Time.h library on a ESP32, and get actual time and date from be.pool.ntp.org (since I’m located in Belgium).

Now I’m wondering if there is a way to (permanently) change the (original English) language for the days and months, into another (in my case that would be Dutch…)

Can this be done in the code, or has this to be done in the library itself, and in that case, how to proceed ?

Many thanks for any reply !

Ronald

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I think you’ll need to do that in code.
You’ll need to check the different cases and translate them into your language. For example:
if day of the week is “Monday”
 then, day of the week is maandag
And so on for all the days and months.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

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.