Guest User

Untitled

a guest
Aug 6th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using System;
  4.  
  5. public class SystemDateTime : MonoBehaviour {
  6. public DateTime currentDate;
  7. public int days;
  8. public int months;
  9. public int years;
  10. public int minutes;
  11. public int hours;
  12. public string dateSeparator;
  13. void Start()
  14. {
  15. dateSeparator = ":";
  16. currentDate.AddDays = days;
  17. currentDate.AddMonths = months;
  18. currentDate.AddYears = years;
  19. currentDate.AddMinutes = minutes;
  20. currentDate.AddHours = hours;
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment