Wednesday, January 30, 2013


Function Name

DAY


Syntax

DAY(number)


Description

Returns the day, as an integer, of the given date value. A negative date/time value can be entered. Number is a time value.

Example:


=DateValue("31/01/2013") = 41305


Google Day Function Example
A B
1 Date 41305
2 Formula =Day(B1)
3 Result 31


Tuesday, January 15, 2013

Google Spreadsheet Function - DATEVALUE


Function Name

DATEVALUE

Syntax

DATEVALUE(text)

Description

Returns the internal date number for text in quotes. Text is a valid date expression and must be entered with quotation marks.

Example:



Google DateValue Function Example
A B
1 Formula =DateValue("31/01/2013")
2 Result 41,305






Thursday, January 10, 2013

Google Spreadsheet Function - DATE

Function Name

DATE


Syntax

DATE(year, month, day)


Description

Converts a date written as year, month, day to an internal serial number and displays it in the cell's formatting. Year is an integer between 1583 and 9956 or 0 and 99. Month is an integer between 1 and 12. Day is an integer between 1 and 31.

Example:


Google Date Function Example
A B
1 Date 11/01/2013 11:05:10
2 Formula =Date(Year(B1),Month(B1),Day(B1))
3 Result 11/01/2013





Wednesday, January 9, 2013

Sending Ctrl + Alt + Del to Remote Client in Remote Desktop Connection Session


If you press Ctrl + Alt + Del while using Remote Desktop Connection, your local PC will response to the key pressed rather then the remote PC.

In order to send Ctrl-Alt-Del keystrokes to remote computer connected via Remote Desktop Client, just press Ctrl + Alt + End.

Tuesday, November 20, 2012

Remove saved credentials or password stored in Windows 7

If you are facing problems regarding connecting to a network drive and the system did not prompt you for a username and password. Most likely, you had already a password being saved in the system already. You could type this command to check the credentials that had been stored previously.
rundll32.exe keymgr.dll, KRShowKeyMgr
From here you can remove authenticated network shares so that the next time you will have to type in the credentials again.


Tuesday, October 30, 2012

Linux: CentOS 6.3 - Guide to install GNOME Desktop from CLI using yum

1. You would need to install "X Windows System" first, as this is the based that provide GUI and rich input device capability before installing GNOME Desktop. This will take a while as yum would download packages from the net before installing, therefore please have your internet connection setup before executing. Command to execute :-
# yum groupinstall -y 'X Window System'
2. Next will be the command for installing GNOME Desktop Environment :-
#  yum groupinstall -y 'Desktop'
3.  Done. To start GNOME type the following command :-
# startx
Note: If you would like to start GNOME automatically after reboot, you would need to edit the /etc/inittab file by changing the line " id:3:initdefault: " to " id:5:initdefault: " in the file.


Linux: CentOS 6.3 - Force DHCP client to renew ip address

Here are a few commands that I used to renew the ip address that has DHCP configured.

1. ifdown and ifup command to restart network card eth0 as follows :-

# ifdown eth0
# ifup eth0
2. Restarting the networking services command :-
# /etc/init.d/networking restart
3. Restart network service using service command :-
# service network restart
4. This command is for releasing the ip address :-
# sudo dhclient -r
This command is for getting a ip address :-
# sudo dhclient