Created date

Is there any way to find our the creation date of a particular user?


peacock (BOB member since 2002-11-07)

If you search for “created user date” you should get your answer.


JennFisher :us: (BOB member since 2002-06-25)

This is what you are looking for.


BO_User (BOB member since 2002-10-02)

Thanks guys. But i am getting the number 1,024,762,234.00. When i try to format it, I am not getting the correct date, time format.


peacock (BOB member since 2002-11-07)

See also this thread: M_ACTOR_N_LAD - how figure out date?


Andreas :de: (BOB member since 2002-06-20)

I am not able to use formula like that. It’s giving #ERROR. I don’t konw what’s wrong in my values. One thing I am using the formula in REPORTER. Do I have to use it in the DESIGNER. Any sugesstions?


peacock (BOB member since 2002-11-07)

You have to use this in designer. May have to change it if you are not using Oracle db.


reemagupta (BOB member since 2002-09-18)

My repository tables are in MS Sql Server. when I try to use convert function I am getting arithmetic overflow error message.


peacock (BOB member since 2002-11-07)

Now it’s working fine. Used Cast function in MS Sql Server


peacock (BOB member since 2002-11-07)

FYI,

For the SQL Server users, you can use:


SELECT	dateadd(s,(@BOTIME), '15-dec-1970')

Where @BOTIME is the field you want to convert. You could also wrap it in a function for easy use with:


CREATE FUNCTION bo.BoDate (@BOTIME int) 
	RETURNS DATETIME
AS
BEGIN
	RETURN (
		SELECT	dateadd(s,(@BOTIME), '15-dec-1970')
		)
END

That way you can simply select a field with the function, i.e. :


SELECT bo.BODate(M_REPO_N_CREATDATE) FROM bo.OBJ_M_REPOSITORY

Regards,

Dan Lelovic


dl_toronto :canada: (BOB member since 2002-08-28)