Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

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 00:14.


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