Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
14%
200 - 500 GB
32%
500 - 800 GB
4%
800 - 1200 GB
4%
1200 - 1500 GB
11%
1500 - 2000 GB
14%
> 2000 GB
21%
Total votes: 28

Baanboard at LinkedIn


Reference Content

 
Macros - dates and times
By patvdv at 26 Feb 2008 - 21:56


Macros - dates and times

Warning

The functions and macros listed below must not be used anymore. Using them in BaanERP 5.0c or higher releases may result in less reliable data. Know that there is a new set of functions that you can use for retrieval of audit information. Refer to Audit Management Overview

 

The input to these macros is a date string in the form YYYYMMDD or a time string in the form HHMMSS.

aud_get_date_yyyy()

long aud_get_date_yyyy( string s_dat() )

This retrieves the year value from the date string s_dat. The year is represented by four digits.

aud_get_date_mm()

long aud_get_date_mm( string s_dat() )

This retrieves the month value from the date string s_dat.

aud_get_date_dd()

long aud_get_date_dd( string s_dat() )

This retrieves the day value from the date string s_dat.

aud_get_time_hh()

long aud_get_time_hh( string s_tim() )

This retrieves the hours value from the time string s_tim.

aud_get_time_mm()

long aud_get_time_mm( string s_tim() )

This retrieves the minutes value from the time string s_tim.

Related topics

0
No votes yet


All times are GMT +2. The time now is 19:44.


©2001-2018 - Baanboard.com - Baanforums.com