Solved

lotus formula date question

Posted on 2007-04-01
3
1,099 Views
Last Modified: 2013-12-18
Hi all,

date question in lotus formula language

On the form,
I have startdate datetime field with the following value = @created
I have a lifecyle number field with a default value of 1
I have enddate datetime field with the following fromula @Adjust(startdate;lifecycle;0;0;0;0;0)

& that's all working fine

Question,

I want to the startdate field to have the year portion as a dynamic portion, this way the dates relating to it will always have the current year in place.

For example,

startdate = [01/03] + @year(@now)
Where the value of the startdate will be 01/03/2007 if the year is 2007 and 01/03/2008 if the year is 2008.
I have tried many combination of @text & @texttotime to get the startdate to work properly but it wouldn't. as well as the enddate always give me an eror for incorrect data type.
Any help is much appreciated.
Varvoura
0
Comment
Question by:varvoura
3 Comments
 
LVL 18

Accepted Solution

by:
marilyng earned 84 total points
ID: 18831732
Question, if the startdate is @Created, or the date/year it was created, won't the year always be correct?
0
 
LVL 63

Assisted Solution

by:SysExpert
SysExpert earned 83 total points
ID: 18832829
I think all that you need to do is use the Format command or change your views/fields to show the year as part of the date.

I hope this helps !
0
 
LVL 22

Assisted Solution

by:Bill-Hanson
Bill-Hanson earned 83 total points
ID: 18836009
I'm not sure what you are trying to accomplish, but the correct way to construct a date is with the @Date function.

@Date( year ; month ; day )
@Date( year ; month ; day ; hour ; minute ; second )
@Date( time-date )

Ex:
startdate := @Date(@Year(@Now); 1; 3);
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now