How can I get the start and end of a date range?

Post Author: RobR
CA Forum: Formula
Greetings!
I have a report whose records are selected if a date field is within the date range returned by the LastFullWeek function.  I want the header for that report to print the first and last dates in that range.  I don't see a way to extract those dates from a date range.  How do I do it?
Also, I think it would be nice to be able to walk through a date range using a for loop, something along the lines of the following:
for (thisDate in LastFullWeed)(    do something;)
but I didn't see syntax like that in the help system.  If I could do this, then I could get the first and last date.  Is this possible?
Thank you!
RobR

Post Author: SKodidine
CA Forum: Formula
If all you want is the starting date and ending date of the function LastFullWeek, then all you have to do is this:
minimum(LastFullWeek) & '          ' & maximum(LastFullWeek);
On a side note, from your post: for (thisDate in LastFullWeed)  Whatcha smokin'  Willis?? 

Similar Messages

  • How can I make the start and end of a move smooth?

    In Premiere Elements 11 I often have zooms or pans which I want to begin gradually, then speed up slightly and then slow down as each one ends. I've tried every comination and permutation of temporal and spatial interpolation, and I still can't seem to get it quite right. Often I wind up with the image doing a graceful arc (no doubt the result of a bezier interpolation) rather than just moving in a straight line. Is there just a simple solution? I just can't stand having a move start and stop with jerky linear motion.
    Thanks in advance.

    Mark West
    To supplement prior information
    If you want to change what the clip rubberband represents, you can click on the tiny triangle next to the Timeline's clip's title.
    Please refer to blog post on Video and Audio Track Content Rubberband
    http://www.atr935.blogspot.com/2013/06/pe11-video-and-audio-track-rubberband.html
    In the case of a video clip, the default for its rubberband is Opacity. But that can be changed to Motion. As I wrote in the blog post
    The Motion Property options are Position, Scale, Constrain Proportions, Rotation, Anchor Point, or Anti-Flicker filter. The Opacity choice is just Opacity.
    Keyframing of these properties are reflected as white dots on the clip's rubberband and can be adjusted at that level.
    If you do not see the white dots keyframes in the clip's rubberband, then right click the file, select "Show Clip Keyframes", follow to Motion and Opacity, pick one, and follow to find your property named, and select it.
    At the rubberband level, right clicking a keyframe (white dot) there, offers opportunities for Linear, Bezier, Auto Bezier, Continous Bezier, Hold, Ease In, Ease Out, and Delete. If you select Bezier, do you see the keyframe handles?
    I have not done this, but you might want to see how much of the following you can get done in Premiere Elements using the Final Cut description of "Smoothing Keyframes with Bezier Hangles".
    https://documentation.apple.com/en/finalcutpro/usermanual/index.html#chapter=67%26section= 2%26tasks=true
    ATR

  • Getting the start  and end dates of the week

    Hi,
    I was stuck with a problem in getting the start date and end date of the week,i know the month ,week and year also,with these three values how can i get the start and end dates of a week.please help me
    Thanks

    There is no simple way. It has to be a math calculation.
    There are several ways you can get the dates. First you have to know what day is January 1st and what day is december 31st for a particular year. Second you have to check whether the given year is a leap year or not. Based on the abvove information you should be able to find out what day is a particular date.
    Hope this helps to get you started.
    - Venkat Dhurjati.

  • How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?

    How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?  I would like them to open at the size they were previously resized like they used to in previous operating systems.  They currently open at a very small size and the first colum is only a few letters wide necessitating a resize practically every time one wants to use it.  Any help would be appreciated.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • How can i get the itunes and apps store icon on my ipad desktop?

    How can i get the itunes and apps store icon on my ipad desktop?

    Google are supposed to be working on an iPad maps app.

  • How can i get the time and result together show in one Array or in Cluster?

    hello everyone i am a new user .I want to get the time and voltge form a Generater. How can i get the time and result together show in one Array or in Cluster?When i selecte the first(or third...) result then in the front panel display the time and the voltge.Thank you!
    I post the time and voltge NOT together photo
    Attachments:
    12345.GIF ‏54 KB

    You can create an array of clusters with one element being the time and the other being the voltage, like so (using the "Get Waveform Components" function):
    Message Edited by smercurio_fc on 10-17-2007 03:15 PM
    Attachments:
    pic.PNG ‏11 KB

  • I lost all of my artist names and album names for my iTunes library. They are all now on one album. How can I get the album and artist names back?

    I lost all of my artist names and album names for my iTunes library. They are all now on one album. How can I get the album and artist names back?

    I have a script called ExportImport for this task, but it only runs in Windows.
    In principle something similar should be possible in AppleScript, but I don't currently have access to a Mac to write it myself.
    tt2

  • How can I get the X and Y coordinates of an object in Xcode, ApplescriptObjc?

    How can I get the value of a specified object's X and Y coordinates in Xcode, using ApplescriptObjc? I'm hoping for something like:
    myObject's currentPosition()
    // Which would return {150, 100} for the X and Y of that object.

    Actually this is straight from basic physics
    Assuming that the x and y values you get using that AppleScript/Objective-C code is accurate, to move the object you would do
    set x to x + dx * speed
    set y to y + dx * speed
    with dx and dy being an integer with a value of -1 or 1 which indicates the direction the object is moving. Remember the origin in OS X is the middle of the frame or screen with positive x and y values moving to the upper right quadrant, and negative x and y values moving to the lower left. Your basic Cartesian coordinate system. Speed is also an interger and models the speed of the object.
    Once you've set x and y to their new values you would write  them back to the object.
    This is so I can find how much distance (in pixels) is being travelled when I animate an object to move from one position to another, to apply it to my desired velocity (of pixels per second), to find out how long the object should take to move.
    This part has got me stumped.
    To make an object move you need to change its x and y coordinates. To get smooth animation you need to change them on a regular schedule at a rate fast enough to avoid jerky motion. Given the refresh rate of most monitors and other factors a rate of 60 times per second gives good results. Between each tick of the clock you change the x and y coordinates by some amount, the size of the amount will model speed. Add a small change and the object moves slowly, add a big amount and the object moves quickly. Keep the amount of change constant and the object will move at a constant speed. Increase (or decrease) the amount of change between each tick and the object will accelerate (or decelerate)

  • How can i get the driver and software for q1342a laser printer 1000

    How can i get a driver and software Cd for HP Laserjet 1000 S/N#CNBJ242828
    Product ID# Q1342A

    The product you have seems to be a commercial printer. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
    You may find the Commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Hope this helps!
    Help the community by marking this post as a solution if it solved your issue!.
    If my post helped you in any way, please click the blue KUDOS star under my name! It would mean a great deal.

  • How can I get the start date and end date of a certain week?

    Hello, in my java code, I can get the week ID , using
    org.joda.time.base.AbstractDateTime.getWeekOfWeekyear() , for example, this week is the 16th week of this year. And I want to get the start date(date of Monday) and end date(date of Sunday) of the week. Is there any method can supply such date value??thanks

    1 public Date getCurrentMonday(){
    2 Date monday = null;
    3 Calendar rightNow = Calendar.getInstance();
    4 int day = rightNow.get(Calendar.DAY_OF_WEEK);
    5 int distance = 0;
    6
    7
    8 if (day == Calendar.MONDAY)
    9 monday = rightNow.getTime();
    10 else
    11 {
    12 distance = day - Calendar.MONDAY;
    13 if (distance == -1)
    14 distance = 6;
    15
    16 monday = (Date) (rightNow.getTime());
    17 monday.setTime(monday.getTime() - 1000 *60 *60 *24 *(distance));
    18 }
    19 return monday;
    20 }

  • Hello, i have a Problem. My iTunes wasn't work, so all my Apps and music is away. How can I get the apps and so on back?

    i destroy my iTunes and all my data's are away. how can i get back?

    Hello. . .
    All of the iTunes content are in a folder. . .
    For Windows: [Windows HDD]\Users\[Your Username]\Music\iTunes\iTunes Media
    For Mac OS X: Music\iTunes\iTunes Media
    If they are not there, then there is absolutely no way to recover them.

  • How can I use the "home" and "end" buttons

    I have an external apple keyboard (full style, with number pad and all) plugged into my macbook.  However, the "home" and "end" buttons don't function the way I'd like (i.e. they don't go to the beginning or end of a line).
    Can I ever get this to work or does it just not function with a laptop that doesn't have that function in the first place.  I'd like to not have to use multiple keystrokes just to get a similar home/end result.
    Thanks!

    "on your hub dont use the phone it will cost you more.when i change over to bt they never told me that i would be charged for useing this phone so i dont now.crafty bt again.when my contract is up i will be leaveing bt for ever,georgesaa."
    Not sure why you are charged for calls on this, as standard you would get free evening and weekends and there are packages for unlimited anytime.
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • How can I get the username and password from Oracle Forms to PJC !

    Dear Sir,
    I have username,password and push button fields in oracle forms. When user clicks the push button, I need to get username and password field contents to my Pluggable Java Program to authenticate the user trying to login. How can I get those text field contents to my java program..? Looking forward from you soon sir.
    Thanks in Advance,
    S Ramkumar

    I tried that trigger but nothing reflects. I write that method in WHEN_BUTTON_PRESSED trigger.
    In the form module I written,
    Set_Custom_Property('BL.USERNAME',1,'NAME','');
    Set_Custom_Property('BL.PASSWORD',1,'PASS','');
    Implementation class of the push button I gave my java class file name.
    In Java Code I tried register the form fields like,
    public static final ID userName = ID.registerProperty("NAME");
    public static final ID passWord = ID.registerProperty("PASS");
    In Java Code I tried get the contents from registered properties,
    public boolean setProperty(ID property, Object value) {
    if(property == userName) {
    System.out.println("Just I wish to see the name entered" + value.toString());
    if(property == passWord) {
    System.out.println("Just I wish to see the pass entered" + value.toString());
    But even System.out.println() is working.
    What's wrong with this code sir ???
    Can you tell me How to register and get those field values in Java ?

  • How can I get the peak and valley of a MZI signal

    I am using MZI signal which is similar to sine wave with frequency of 10MHz to calibrate an interference signal. I want to get the peak and valley of the MZI signal and get the corresponding value of interference signal at the same location. The problem is that the MZI signal aquired by DAQ is not smooth, Please see attached filter.PNG, the top left is the MZI, top right is the MZI Zoomed in, you can see that there may be two values that are approximately same to each other. I used a peak detector to detect both the peak and valley and a build array to concatenate them. I am worried that the peak detector may find two peaks or two valleys in a fringe. So I used the filter function in express to bandpass the MZI signal (cutoff frequency is 8MHZ~12MHZ) to smooth the signal, the result zoomed in is  the bottom graph in filter.PNG. But I found that it did not solve the problem but cause phase shift. Is there somebody can give some help?
    Attachments:
    filter.PNG ‏143 KB
    peak detector.PNG ‏69 KB

    I don't know anything about MZI signals, but I do know sine waves.  If this is a sine wave, it is relatively easy to measure its amplitude as long as you know the frequency.  Since you say it is 10 MHz, you appear to know the frequency.  You can use Fourier analysis to determine the magnitude and phase of your signal, as long is it is a steady signal that doesn't change frequency or amplitude.
    Generate a sine and cosine wave using the same frequency.  Divide each wave by the sum of its points.  Multiply each one by your incoming signal and sum all the values, one sum for sine and one sum for cosine.  The sums should be the coefficients of the sine and cosine components of your unknown signal.  The ratio tells you the phase of the signal.  If you multiply the sine and cosine waves by their coefficients and add them together, you should be very close to your incoming signal.  The amplitude of your signal is equal to square root of A*A+B*B, where A and B are your coefficients.
    I may be off by a constant factor here somewhere (probably pi), since I didn't write down the equations and verify them.  These equations are the basis of the Fourier series, though, so they would be fairly easy to find.
    Another option would be resampling.  If you upsampled the data and increased the data resolution by a factor of 10 or so and filtered the results using an FIR filter, you would have a much cleaner signal with a lot more detail.  You wouldn't have any problem locating and measuring peaks and valleys.  This would probably work better with your data, since it looks like it doesn't have a constant magnitude.  To upsample the data, just add 9 zeroes between each data point.  Create a lowpass FIR filter that is based on 10 times the original sampling frequency and has an amplitude of 10.  The cutoff frequency should be half the original sampling rate.  Filter your new data and you should get the same waveform with 10 times the resolution.
    Bruce
    Message Edited by Bruce Ammons on 10-02-2008 09:10 PM
    Bruce Ammons
    Ammons Engineering

  • I found an old iPod classic of mine.  It's not synced to my new MacBook Pro.  How can I get the music and photos off of it and on to my new computer?  When I plug it in to my new computer it wants to erase what is on it and transfer from my new computer.

    I found an old iPod classic of mine that is synced to a computer that is long gone.  I want to get the music and photos from this old iPod onto my new computer.  Every time I hook the iPod up to my new computer it wants to delete what is on the iPod and replace with the contents of the iTunes that is currently on the new computer.  I don't want to do that.  I want to keep what is on the old iPod and transfer it to iTunes.  Any help?  Thanks!

    See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    B-rock

Maybe you are looking for

  • How To user jstl in jsp 1.2?

    hai all, i can use jstl for each tag in jsp2.0 but i want to use it with weblogic 8.1 and it support servlet 2.3 and jsp 1.2 only. can any body show me how to use forEach tag in jsp 1.2. thanks in advance, Rahul

  • I have a problem with my BBM

    hi sudnly my BB bold 9000 Masanger stoped working and i have checked the servece provider and tried my SIM in another BB was fine , i have made asoftware but still please tell me what to do thanks

  • Calling class via an Applet, Java stored within database

    I don't know if this is the right place to post, but. I'm trying to create an Applet that references a JAVA class stored in the database. My code looks something like this: <applet code="Hello.class" codebase="http://www.somesite.com/pls/dad/" width=

  • Looking for a BAPI or BADI for ML81N EVENT SAVE

    Good Morning to everyone !!! I would like to know if exist an BADI or USER EXIT for  ml81n transactions in the event SAVE. If exist please let me know the name of them and an example of it could be the best for me. Thanks in advantage for your help,

  • Iphoto web gallery link

    I have exported a couple of iphoto albums to an .mac web gallery using iphoto08. I can open them in safari ok. When I try to link to these within iweb 08 using web widgets or the menu, no albums are available. Anyone had similar experiences?