Data di sistema

mercoledì 09 settembre 2009 - 11.41

federico1963 Profilo | Newbie


Scusate la mia ignoranza!

Stò creando un programma in c# il quale dovrebbe permettermi di modificare anche la data del computer

Non riesco a trovare il modo.... Avete un suggerimento da darmi??

Vi ringrazio

Dainesi Profilo | Senior Member

Ma se è C# perché posti qui ?

angelotv Profilo | Guru

In effetti dovresti andare in un altra pagina (quella che riguarda il linguaggio C); comunque ci sono nel "C" alcune funzioni sistema:
(vedere http://www.cppreference.com/wiki/c/date/start)

Standard C Date & Time

asctime a textual version of the time
clock returns the amount of time that the program has been running
ctime returns a specifically formatted version of the time
difftime the difference between two times
gmtime returns a pointer to the current Greenwich Mean Time
localtime returns a pointer to the current time
mktime returns the calendar version of a given time
setlocale sets the current locale
strftime returns individual elements of the date and time
time returns the current calendar time of the system

by Angelo

federico1963 Profilo | Newbie


Scusami ma dove devo andare ??
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5