C# Lesson! How To Get the DATE and TIME From Device [Intermediate Tutorial – Unity 2019]

6
13



👍 How to work with date and time. In this tutorial we’ll focus on the system date. How to get it, and how to format it.

👍 Extra tip: You can get the NAME of the day by typing “ddd” or “dddd”. Try this:
print(“Today is ” + System.DateTime.UtcNow.ToLocalTime().ToString(“dddd”));

····················································································

❤️ Subscribe to Oxmond Tutorials. New videos every day!

✅ Download the Date script here:

✅ Download Free Assets from the Unity Assets Store:

++++++++++++++++++++++++++++++++++++++++++++

💻 Visit our website for more tips & tricks:

····················································································

📱 Try our Bumperball game:
iOS:
Android:

····················································································

🤓 Some links might be affiliate links. Any support is truly appreciated so we can keep on making high quality content 🙂

️🎯 #learnunity #unitytutorial #videogametutorial

++++++++++++++++++++++++++++++++++++++++++++

Nguồn:https://wijstaanvooronzegrondrechten.org/

6 COMMENTS

  1. How do I make so it shows 1 hour into the future? example: it's 14:00 and I want it to display 15:00, or it's 11:00 and it would display 12:00
    Any help would be great

  2. but is there a way to know the actual stats of the day ? "i mean morning or evening" not
    PM and AM i mean if it's actually day or night ?

  3. Your videos are awesome thanks for the sharing your knowledge with us.Can you make a video on changing the color of the 3d object.
    Refer Link : ( https://www.youtube.com/watch?v=KBP9MFaD1kg).In this video stating at 0.50 , they change the color of the car slowly to another color.Can you make a tutorial on this, it will very helpful for us.Thanking you

LEAVE A REPLY

Please enter your comment!
Please enter your name here