Categories
HOW TO Linux Unix

Unix set date and time command

To set date and time use date command with -s parameter

[sourcecode lang=”bash”]
date -s "02/13/2013 17:52:04"
[/sourcecode]

To list the date and time of the server use date command without parameters

[sourcecode lang=”bash”]
date
[/sourcecode]

Did my HOW TO help you? Leave a reply.

Categories
C#.NET Microsoft Visual Studio

Visual Studio C#.Net – “A get or set accessor expected”

A get or set accessor expected

in Italian:

È prevista una funzione di accesso get o set

Solution:
You miss the parentheses on the method declaration

private void SampleMethod()
{

}

Did my solution solve your problem? Leave a reply.