Example Date isIdentical 010

 

 

Description

This example shows how the isIdentical function is used to compare Date values of different formats.

 

Details

(setq A #Jan,1,1996:08:22:00 ) Returns: #Jan,1,1996:08:21:59
(setq B #Jan,1,1996) Returns: #Jan,1,1996
(isIdentical A B) Returns: true

The julian date format is defined.

(setq C (julian A)) Returns: 729023.0

The julian date format is compared with the normal date format.

(isIdentical A C) Returns: true

 

Related Examples

Here are examples of the isIdentical function at work.

BitVector isIdentical 017 Boolean isIdentical 007 Brick isIdentical 020 Character isIdentical 008
Date isIdentical 010 Dictionary isIdentical 002 Directory isIdentical 003 Error isIdentical 007
FltVector isIdentical 012 Function isIdentical 011 IntVector isIdentical 013 List isIdentical 018
Matrix isIdentical 005 NumMatrix isIdentical 020 NumVector isIdentical 014 Number isIdentical 009
ObjVector isIdentical 015 ObjectRepository isIdentical 019 Pair isIdentical 017 PcodeVector isIdentical 016
ShortVector isIdentical 014 Structure isIdentical 001 Vector isIdentical 004 Void isIdentical 006

 

Function Links

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

isIdentical

Here are a number of links to other related functions.

compareEQ(#void) isIdentical(#void) comparison(#void) isEqual(#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