Example Date type 014

 

 

Description

This example shows how the type function return the data type of the AIS Objects evaluated.

 

Details

These examples show the different formats of the Date Data Type.

(type #Feb,14,1976 ) Returns: Date
(type (date 1994 2 3)) Returns: Date

The Julian date format is a numeric data type.

(type 729032.2455) Returns: Number

The Julian numeric format is converted into the Date data type.

(type (date 729032.2455)) Returns: Date

 

Related Examples

Here are examples of the type function at work.

BitVector type 021 Boolean type 011 Brick type 026 ByteVector type 022
Character type 012 Date type 014 Dictionary type 007 Directory type 008
FltVector type 016 Function type 015 IntVector type 017 Lambda type 011
Matrix type 010 NumMatrix type 025 NumVector type 018 Number type 013
ObjVector type 019 ObjectRepository type 024 Pair type 023 PcodeVector type 020
ShortVector type 018 String type 001 Structure type 003 Structure type 004
Structure type 005 Symbol type 002 Vector type 009 Void type 011

 

Function Links

Here is the link to the current function used in this example.

type

Here are a number of links to other related functions.

isType(#void) isIdentical(#void)

 

Argument Types

Here are the links to the data types of the arguments used in this example.

Date

Here are a number of links to examples having similar argument types.

Date addMethod 015 Date addMethod 016 Date compare 012 Date compareEQ 012
Date compareGE 012 Date compareGT 012 Date compareLE 012 Date compareLT 012
Date compareNE 012 Date comparison functions 011 Date day 001 Date days360 001
Date getTickCount 001 Date hour 001 Date isDate 001 Date isEqual 010
Date isEqual 011 Date isIdentical 010 Date julian 001 Date minute 001
Date month 001 Date now 001 Date ref 020 Date second 001
Date time 001 Date time 002 Date today 001 Date type 014
Date year 001 Function ref 021 String parse 001

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE