
Search In
There is a popular time module available in Python which provides functions for working with times and for converting between representations. Here is the list of all available methods −
1-time.altzone
The offset of the local DST timezone
Sometimes we need to check if a particular string exists in an array or not, we can do this by using inArray() method of jQuery very easily.
Example
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<ti
In MySQL, LEN() function is used to return the length of the value in a column (text field) in a table.
LEN() Syntax
SELECT LEN(column_name) FROM table_name;
We have a table "employee" as below:
employee
id first_name last_na
In SQL, FORMAT() function is used to format a column value means how a field will to be displayed.
FORMAT() Syntax
SELECT FORMAT(column_name,format) FROM table_name;
In the above syntax parameters are as below:
Parameter Description
column_
To create a table in MySQL, we use the CREATE TABLE statement. A table is a combination of row and columns.
CREATE TABLE Syntax
CREATE TABLE table_name
(
column_name1 data_type(size),
column_name2 data_type(size),
....
);
In the above syntax para
In MySQL, aliases are used to give temporarily name to a table or a column. When we write a query we use Aliases to make column name more readable.
Alias Syntax for Columns
SELECT column_name AS alias_name
FROM table_name;
Alias Syntax for Tables
Onchange is the most important function for Odoo. The "onchange" mechanism provides a method for the client interface to update a form at the time when the user filled a value in a field, without saving anything to the database.
For example you can s
Jquery filter( selector) method:-
It is one of the most important method which we can use to filter out elements from a list of DOM elements.
It removes all elements from the set of matched elements that do not match the specified selector(s).
Synt
As in my previous blog display content in OpenERP/Odoo the same process will we followed for odoo9, and they are:-
Widgets have a number of methods and features, but the basics are simple:
1. set up a widget
2. format the widget's data
3. display th
Can function main() be overloaded in C++?
The main() function can be overloaded in C++ by defining main as member function of a class.Since main is not a reserved word in many programming languages like C++,C# ,java etc, main can be declared as a v
