WordPress database error: [Duplicate entry '13955' for key 1]
INSERT INTO wp_bas_visitors (visit_ip, referer, osystem, useragent, lasthere) VALUES (644300605, 1, 191, 629, '2009-01-06 11:12:31');

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND referer = referer_id AND osystem = os_id AND useragent = ua_]
SELECT * FROM wp_bas_visitors, wp_bas_refer, wp_bas_ua, wp_bas_os WHERE visit_id = AND referer = referer_id AND osystem = os_id AND useragent = ua_id

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '2009-01-06 11:12:31', 0, 142)' at line 1]
INSERT INTO wp_bas_log (visit, stamp, outbound, page) VALUES (, '2009-01-06 11:12:31', 0, 142);

CMJ Office Blog » Useful Function Codes For Excel

CMJ Office Blog


Useful Function Codes For Excel

Posted in Business by CMJ Office on the April 21st, 2008

Here are some useful Excel code functions that involve dates and times for your spreadsheets. These codes can be found at the following link http://office.microsoft.com/en-us/excel/HP052042111033.aspx.

Hope they come in handy for you.

Date and Time Functions


Function 

Description 

DATE

Returns the serial number of a particular date

DATEVALUE

Converts a date in the form of text to a serial number 

DAY

Converts a serial number to a day of the month 

DAYS360

Calculates the number of days between two dates based on a 360-day year

EDATE

Returns the serial number of the date that is the indicated number of months before or after the start date 

EOMONTH

Returns the serial number of the last day of the month before or after a specified number of months 

HOUR

Converts a serial number to an hour 

MINUTE

Converts a serial number to a minute 

MONTH

Converts a serial number to a month 

NETWORKDAYS

Returns the number of whole workdays between two dates

NOW

Returns the serial number of the current date and time 

SECOND

Converts a serial number to a second 

TIME

Returns the serial number of a particular time 

TIMEVALUE

Converts a time in the form of text to a serial number 

TODAY

Returns the serial number of today’s date 

WEEKDAY

Converts a serial number to a day of the week 

WEEKNUM

Converts a serial number to a number representing where the week falls numerically with a year 

WORKDAY

Returns the serial number of the date before or after a specified number of workdays 

YEAR

Converts a serial number to a year 

YEARFRAC

Returns the year fraction representing the number of whole days between start_date and end_date 

 

Colleen M. Johnson, CMJ Office

Leave a Reply