[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Issue with date format in SQR prog in hyperion 8.5
- Subject: [sqr-users] Issue with date format in SQR prog in hyperion 8.5
- From: maddy <madhudvm@gmail.com>
- Date: Mon, 22 Oct 2007 17:42:33 -0400
- Delivery-date: Mon, 22 Oct 2007 17:44:44 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta;h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;bh=2004mMYJtAkgH16MTqeeAyXQFsNnEBeCZQfT6GE4Qkk=;b=dVoHBh5fLAhUNhLAP8xkJpAKd3ZOYUFVzU32lw1NJBe/aIt+ta3hpG6oITTRjFS8XvkQzGnJ60O1O8aKgETDu4F5xu6ZAX/+X7BGjcWGFEEgJlT5+4yrxigLDra+LGH7UiFiMxuxaJCn6XtaHeNltcNgr2p1SJGutLWaHzwqs5k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;b=ssfmn9K/Fb0vM4o65tx+uZrZBBtOcApdVvXJMDtTBJb+zufsuV18CM8GJun9PGjsvmUIQMljM9ruM23rjNIgSpF8qyW76HAAnTSOkywZyjZXdxAZn7SZaFh3epVAO1yOdkk1/WHxaVWLWOo2uf8lAQh4IiiN+//ADB8h1G1WDj8=
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Date $gsTo_Date
convert(datetime,substring(convert(char(10), dateadd(mm, -1,
$_gsTo_Date),101),1,3) + '01' +
substring(convert(char(10), dateadd(mm, -1, $_gsTo_Date),101),6,5)) &FROM_DT
The above function works perfectly in Brio 6.2 but doesn't work in
Hyperion 8.5.
If I replace the $_gsTo_Date with getdate() in the above function as
shown below, it works fine even in Hyperion 8.5.
convert(datetime,substring(convert(char(10), dateadd(mm, -1,
getdate()),101),1,3) + '01' +
substring(convert(char(10), dateadd(mm, -1, getdate()),101),6,5)) &FROM_DT
Is the general syntax of convert function changed in Hyperion 8.5 ?
Can someone please send me the general syntax of convert function ?
Thanks!
Maddy
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users