Search Unity

using System.DateTime

Discussion in 'VR' started by gomeslaw, Nov 3, 2017.

  1. gomeslaw

    gomeslaw

    Joined:
    Dec 11, 2012
    Posts:
    17
    Hello everyone,
    I used system.DataTime and it gives me the following error:

    'DateTime' does not contain a definition for 'ToLongTimeString' and no extension method 'ToLongTimeString' accepting a first argument of type 'DateTime' could be found (are you missing a using directive or an assembly reference?)


    Does anyone know how I can know the data referring to the date and time of the hololens that are running the application?

    Thanks a lot.
     
  2. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    gomeslaw likes this.
  3. gomeslaw

    gomeslaw

    Joined:
    Dec 11, 2012
    Posts:
    17
    To long time string was the problem. Thank you!!