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

Опубликовано: 14 Март 2025
на канале: OXMOND Tech
21,073
395

👍 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!
https://bit.ly/SubscribeOxmondTutorials

✅ Download the Date script here:
https://oxmond.com/how-to-get-the-dat...

✅ Download Free Assets from the Unity Assets Store:
https://assetstore.unity.com/lists/to...

😷👕 Need a face mask / developer T-shirt? Drop by our merchandise shop and get a 20% DISCOUNT on your first purchase by using the discount code YOUTUBE. Just follow this link:
https://shop.oxmond.com/discount/YOUTUBE

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

💻 Visit our website for more tips & tricks:
https://oxmond.com/tutorials/

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

📱 Try our Bumperball game:
iOS: https://apple.co/2CGNr7F
Android: https://bit.ly/BumperballAndroid

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

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

️🎯 #learnunity #unitytutorial #videogametutorial

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