e
q
u
e
s
t
a
d
e
m
o < back
API Reference: Date Of Birth
{TOC}
"Date Of Birth" API
API function
.NET:
HushHush.MaskingLogic.SSRS.Mask.DateOfBirth(DateTime date, int daysShift, int monthShift, int yearsShift)
Expected input
Data: Valid datetime value shiftDays/daysShift: acceptable day range (Default is 30) shiftMonth/monthShift: acceptable month range (Default is 0) shiftYears/yearsShift: acceptable year range (Default is 0)
Expected output
Datetime value shifted to random delta days/months/years according to input ranges
###Error handling###
Example
.NET:
HushHush.MaskingLogic.SSRS.Mask.DateOfBirth(DateTime.Now, 30, 0, 0)