Haga que los objetos DateTime se representen como cadenas en el mensaje de infracción
Make DateTime objects represented as strings in the violation message
Por tanto, es posible que algunos métodos y propiedades de los objetos DateTime no estén disponibles.
As a result, some of the properties and methods of DateTime objects might not be available.
Anteriormente, todos los objetos DateTime eran considerados iguales (usando ==).
Previously, all DateTime objects were considered equal (using ==).
El objeto toma dos objetos DateTime, uno para el inicio y el otro para el final, y el intervalo que define el número de eventos periódicos que se devuelven.
It can take two DateTime objects, start and end, and the interval for which it will return all events in between.
En.NET, es importante poder apreciar las sutiles diferencias entre objetos DateTime (una coordenada o punto en el eje del tiempo) y objetos TimeSpan (un delta entre dos puntos o coordenadas en el eje del tiempo).
In.NET, it is important to appreciate the subtle differences between DateTime objects (a coordinate or point in the time axis) and TimeSpan objects (a delta between two points or coordinates in the time axis).
El número de días es un concepto en línea con objetos TimeSpan, pero se pueden usar conceptos TimeSpan para representar objetos DateTime dentro de ciertos marcos de referencia (por ejemplo, dentro de las fechas de un año dado).
The number of days is a concept in line with TimeSpan objects, but can use TimeSpan concepts to represent DateTime objects within certain reference frameworks (for instance, within the dates of a given year).
Vamos a crear un contador del día de Navidad usando los operadores de comparación y otros métodos de Comenzamos creando dos objetos DateTime para almacenar la hora actual y la fecha de Navidad de este año.
We began by creating two DateTime objects to store the present time and the date of this year's Christmas.
Usa el cmdlet Get-Date para obtener la fecha y la hora actuales y aplica a los objetos DateTime el método AddDays de.NET con el valor 3 (días).
It uses the Get-Date cmdlet to get the current date and time and applies the AddDays.NET method for DateTime objects with a value of 3 (days).
DateTime::diff - Devuelve la diferencia entre dos objetos DateTime
DateTime::diff() - Returns the difference between two DateTime objects
Objeto datetime: establecer la configuración regional y el formato predeterminados de los objetos datetime mediante el panel de preferencias.
datetime Object: Set the default locale and format of datetime objects through the Preference panel
Este valor puede ser un String, pero también es capaz de convertir objetos DateTime, Date y de otras clases similares
It is also able to convert DateTime, Date and similar classes
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.